Knowledge check: Practice using semantic tags

Knowledge check: Practice using semantic tags

  1. What is the purpose of Semantic HTML tags?

    • To describe the meaning of the HTML document

    • To describe the structure of the HTML document

    • To describe the layout of the HTML document

  2. What is the impact of using semantic tags in your HTML document? Select all that apply.

    • It allows search engines to understand the HTML document

    • It allows accessibility software to understand the HTML document

    • It improves your rank in search engine results

  3. What type of content is the <article> semantic HTML element appropriate for? Select all that apply.

    • Forum post

    • Blog post

    • News article

  4. Which of the following elements is most suitable for describing the navigation section of a webpage?

    • <main>

    • <nav>

    • <header>

  5. You need to add a copyright notice to the bottom of a web page. Which of the following semantic tags is most suitable to use?

    • <footer>

    • <section>

    • <cite>

  6. You need to indicate that a section of text in a <p> element is important. Which of the following semantic tags should you use?

    • <b>

    • <u>

    • <strong>

  7. You need to display a list of descriptions on a web page. Which of the following tags are best-suited semantically?

    • <ul>

    • <dl>

    • <ol>