Skip to content

Courses / HTML5 Mastery: Complete Beginner to Advanced Course / HTML Semantics

676 people viewed this

HTML Semantics

Which element represents a major group of navigation links?

  1. <nav>
  2. <aside>
  3. <address>
  4. <time>

Question 3: Main Content

Which element identifies the dominant content of the document body?

  1. <header>
  2. <footer>
  3. <main>
  4. <div>

Question 4: Independent Content

Which element is most appropriate for a self-contained blog post that could be distributed independently?

  1. <article>
  2. <nav>
  3. <main>
  4. <address>

Question 5: Thematic Grouping

Which element is generally appropriate for grouping content around a distinct topic, usually with a heading?

  1. <time>
  2. <section>
  3. <search>
  4. <footer>

Question 6: Generic Containers

When is div generally the most appropriate choice?

  1. Whenever the page contains navigation links
  2. Whenever the content is the main page content
  3. When a generic container is needed and no more specific semantic element fits
  4. Whenever a standalone article is created

Question 7: Supplementary Content

Which element is appropriate for related articles or supplementary information that is indirectly related to the main content?

  1. <aside>
  2. <main>
  3. <time>
  4. <head>

Question 8: Machine-Readable Dates

Which attribute provides a machine-readable date or time value for a time element?

  1. src
  2. datetime
  3. href
  4. action

Question 9: Contact Information

What is the intended use of the address element?

  1. To create a navigation bar
  2. To define the document's title
  3. To represent relevant contact information for the nearest article or body context
  4. To automatically validate a postal address

Question 10: Semantic HTML and Accessibility

Rate this course

5.0 · 1 rating

Stars show on this course. Your written note stays private.

Your stars