HTML Semantic Elements Quiz
Want to learn more than this quiz offers you? Have a look at my Frontend web
development courses.
Create an account and save your quiz results
Login and save your results
OR
Question 1/15
What is the main improvement of HTML5 in terms of semantics compared to previous versions?
Select your answer
Question 2/15
When structuring a webpage with HTML5 elements, which tag is NOT a semantic tag?
Select your answer
Question 3/15
What element introduces a quote from another source?
Select your answer
Question 4/15
What is the purpose of the
<article>
element in HTML5?
Select your answer
Question 5/15
Which element is intended for short quote inline content?
Select your answer
Question 6/15
Where would you typically find content like 'Copyright (c) 2023 Your Company' in an HTML document?
Select your answer
Question 7/15
For an embedded video object, which semantic HTML5 element should generally be used?
Select your answer
Question 8/15
Which element would best represent content related to advertisements?
Select your answer
Question 9/15
Which element should be used to denote introductory content or navigational links for its nearest ancestor?
Select your answer
Question 10/15
Which element is used to specify a caption for a
<fieldset>
?
Select your answer
Question 11/15
When encapsulating contact links or information, which semantic element is most fitting?
Select your answer
Question 12/15
Which HTML tag is used to provide a note about the authorβs intent surrounding a written content?
Select your answer
Question 13/15
For displaying mathematical equations, which HTML5 element should be used?
Select your answer
Question 14/15
Which element should be used to provide markup for edits within text content?
Select your answer
Question 15/15
What element should be used to delineate an area containing a dialogue, such as a conversation between people?
Select your answer
Your Results
You did not answer any questions correctly.
Your Answers
Question 1/15
π Your
answer was correct
π Your
answer was incorrect
What is the main improvement of HTML5 in terms of semantics compared to previous versions?
Available answers
HTML5 introduces new semantic tags like
<header>
, <footer>
, <article>
, and <aside>
, facilitating better document structuring and search engine utility.
Question 2/15
π Your
answer was correct
π Your
answer was incorrect
When structuring a webpage with HTML5 elements, which tag is NOT a semantic tag?
Available answers
The
<div>
tag is a non-semantic element which lacks clearly defined meaning by itself, unlike semantic elements which convey meaning about their contents.
Question 3/15
π Your
answer was correct
π Your
answer was incorrect
What element introduces a quote from another source?
Available answers
The
<blockquote>
element is used to define an extended quotation, often with a separate paragraph structure.
Question 4/15
π Your
answer was correct
π Your
answer was incorrect
What is the purpose of the <pre><code><article></code></pre> element in HTML5?
Available answers
The
<article>
element is intended to specify self-contained compositions in a document, such as a newspaper article, blog post, or forum entry, that could be independently distributed or reused.
Question 5/15
π Your
answer was correct
π Your
answer was incorrect
Which element is intended for short quote inline content?
Available answers
The
<q>
element is used for short inline quotations, typically rendered within quotation marks.
Question 6/15
π Your
answer was correct
π Your
answer was incorrect
Where would you typically find content like 'Copyright (c) 2023 Your Company' in an HTML document?
Available answers
Copyright and similar information is commonly placed within a
<footer>
element as it relates to the overall ownership and informational metadata of the enclosing content.
Question 7/15
π Your
answer was correct
π Your
answer was incorrect
For an embedded video object, which semantic HTML5 element should generally be used?
Available answers
The
<video>
element is specifically designed to embed video content with associated audio.
Question 8/15
π Your
answer was correct
π Your
answer was incorrect
Which element would best represent content related to advertisements?
Available answers
The
<aside>
element is suitable for content that is not directly related to the main content, such as advertisements, sidebars, and supplementary information.
Question 9/15
π Your
answer was correct
π Your
answer was incorrect
Which element should be used to denote introductory content or navigational links for its nearest ancestor?
Available answers
<header>
is used for introductory content or sets of navigational links, usually appearing at the start of a <section>
or <article>
.
Question 10/15
π Your
answer was correct
π Your
answer was incorrect
Which element is used to specify a caption for a <pre><code><fieldset></code></pre>?
Available answers
The
<legend>
tag represents a caption for the <fieldset>
element, giving context and meaning to the grouped controls.
Question 11/15
π Your
answer was correct
π Your
answer was incorrect
When encapsulating contact links or information, which semantic element is most fitting?
Available answers
Contact information is best placed within a
<footer>
, as it is often secondary or associated with the overarching content, matching its semantic use case.
Question 12/15
π Your
answer was correct
π Your
answer was incorrect
Which HTML tag is used to provide a note about the authorβs intent surrounding a written content?
Available answers
<cite>
is used to describe the title of a creative work, indicating the origin or source of the text.
Question 13/15
π Your
answer was correct
π Your
answer was incorrect
For displaying mathematical equations, which HTML5 element should be used?
Available answers
The
<math>
element is used to denote mathematical equations, using MathML or a related standard to enable complex mathematical representations.
Question 14/15
π Your
answer was correct
π Your
answer was incorrect
Which element should be used to provide markup for edits within text content?
Available answers
The
<ins>
element is used to represent a range of text that has been inserted into a document, often with annotations to indicate modifications.
Question 15/15
π Your
answer was correct
π Your
answer was incorrect
What element should be used to delineate an area containing a dialogue, such as a conversation between people?
Available answers
The
<dialog>
element is for content that is part of a conversation or interaction, such as a message in a chat application or an interactive popup box.