HTML Quiz 1

Quiz
•
Computers
•
University
•
Hard
John Oli
Used 14+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
<h1> The End of the World is Nigh </h1>
<article> Musings on our Current Social Predicament, by <em> Trans I. Tory </em> <p> Random content….</p> </article>
Four
Eight
Two
Three
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which code produces the output shown in the image below?
2<sup>5</sup><sub><small>8</small></sub>
2<sub><small><small> 5</small></small></sub><sup>8</sup>
2<sup><small><small> 5</small></small></sup><sub>8</sub>
2<sup><small><small> 8</small></small></sup><sub>5</sub>
Answer explanation
Correct
Repetition of the small tag is required to get the size reduction observed.
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
How do we use HTML elements in combination with each other?
<p>Here's some text that <em>should be emphasized.</p></em>
<p>Here's some text that </em>should be emphasized.</p></em>
<p>Here's some text that <em>should</em> be emphasized.</p>
<p>Here's some text that</p> <em>should</em> <p>be emphasized.</p>
Answer explanation
Correct
Tags need to nest smoothly. The emphasis is inside the paragraph, so the em tags are inside the p tags.
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which two elements are used to mark-up subscript and superscript text?
<sub> and <sup>
<subscript> and <superscript>
<small> and <sup>
<lower> and <raise>
Answer explanation
Correct
<sub> is for subscripts, like numbers in chemical formulas, and <sup> is for superscripts, like footnote markers.
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which HTML code snippet produces the output shown in this image?
<p> This is a </p> demonstration <p> of the paragraph tag </p>.
<p> This is a </p> demonstration <p> of the paragraph <p> tag </p> </p>.
<p> This is a </p> demonstration <p> of the paragraph <p> tag. </p> </p>
<p> This is a demonstration </p> of the paragraph <p> tag </p> .
Answer explanation
Correct
Count the lines of output.
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
When deciding which headline level to use (h1, h2, h3, h4, h5, h6) which of these statements is true?
We can only use each level of headline exactly one time on each webpage.
Every headline for a certain level will look like all the others — for instance, every h3 will look exactly like every other h3.
We should use the level of headline that makes sense, based on the semantic meaning of content.
We should adjust our headline levels based on how they look to give us the right size.
Answer explanation
Correct
Content works best when markup follows meaning.
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which markup is correct?
<date time="2025-10-08">October 8, 2025</date>
<date>October 8, 2025</date>
<datetime time="2025-10-08">October 8, 2025</datetime>
<time datetime="2025-10-08">October 8, 2025</time>
Answer explanation
Correct
Even when you're presenting a date, you should use the <time> element, with the datetime attribute specifying the formal date.
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Test your Knowledge

Quiz
•
University
11 questions
Basic HTML & HTML5

Quiz
•
University
7 questions
Software development

Quiz
•
KG - Professional Dev...
10 questions
C - Pointers

Quiz
•
University
15 questions
Coding club Summit Online Quiz

Quiz
•
University
10 questions
Quis CSS W3Schools

Quiz
•
University
15 questions
HTML

Quiz
•
University
10 questions
HTML5

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University