Recall & Review
beginner
What is a semantic HTML element?
A semantic HTML element clearly describes its meaning to both the browser and the developer. For example, <header> means the top section of a page, and <article> means a piece of content. It helps with accessibility and SEO.
Click to reveal answer
beginner
Give an example of a non-semantic HTML element.
Examples of non-semantic elements are <div> and <span>. They do not tell anything about their content or purpose. They are used mainly for styling or grouping content.
Click to reveal answer
beginner
Why should we prefer semantic elements over non-semantic ones?
Semantic elements improve accessibility for screen readers, help search engines understand the page, and make the code easier to read and maintain.
Click to reveal answer
beginner
Which element is semantic: <section> or <div>?
<section> is semantic because it defines a section of content with meaning. <div> is non-semantic and just groups content without meaning.
Click to reveal answer
intermediate
How do semantic elements help keyboard navigation?
Semantic elements provide structure that assistive technologies use to help users navigate with a keyboard, making websites easier to use for people with disabilities.
Click to reveal answer
Which HTML element is semantic?
✗ Incorrect
and are non-semantic containers. is for styling bold text without meaning.
What is the main benefit of using semantic elements?
✗ Incorrect
Semantic elements help screen readers and search engines understand the page structure, improving accessibility and SEO.
Which element is non-semantic?
✗ Incorrect
is non-semantic; it does not describe its content. The others are semantic elements.
Why is <section> considered semantic?
✗ Incorrect
Which is NOT a reason to use semantic elements?
✗ Incorrect
Semantic elements do not affect internet speed but improve readability, SEO, and accessibility.
Explain the difference between semantic and non-semantic HTML elements.
Think about how elements describe their content and why that matters.
You got /5 concepts.
Describe how semantic elements improve website accessibility and SEO.
Consider how meaning helps machines and people understand the page.
You got /4 concepts.