Identifying Landmark Elements
Which semantic HTML tag best represents the main navigation links of a website?
- u003Cnavu003E
- u003Cmainu003E
- u003Casideu003E
- u003Cfigcaptionu003E
- u003Cfooteru003E
The Role of u003Cheaderu003E
What is the primary purpose of the u003Cheaderu003E element in semantic HTML?
- To group introductory content, logos, and main navigation at the top of a page
- To set the page's title and metadata
- To create a section for user comments
- To display captions for images or figures
- To define the main content area of a section
Distinguishing Semantic from Non-Semantic
Which of the following elements is NON-semantic, providing no information about its contents?
- u003Cdivu003E
- u003Cfooteru003E
- u003Csectionu003E
- u003Carticleu003E
- u003Cnavu003E
Choosing the Right Main Content Tag
When you want to identify the primary topic or central content of a web page, which tag should you use?
- u003Cmainu003E
- u003Casideu003E
- u003Carticleu003E
- u003Cnavu003E
- u003Cspanu003E
Self-contained Content
Suppose you are marking up a blog post that could stand alone or be shared. Which semantic tag is most appropriate?
- u003Carticleu003E
- u003Cdetailsu003E
- u003Csectionu003E
- u003Cdtu003E
- u003Cfooteru003E
Purpose of u003Cfigcaptionu003E
In the code snippet u003Cfigureu003Eu003Cimg src='img.jpg'u003Eu003Cfigcaptionu003EA mountain viewu003C/figcaptionu003Eu003C/figureu003E, what does the u003Cfigcaptionu003E element provide?
- A caption or description for the image or figure
- A heading for the section
- A navigation bar for related images
- A sidebar for additional notes
- A table of contents
Heading Hierarchy
Which is the correct guideline for using heading elements (u003Ch1u003E to u003Ch6u003E) in semantic HTML?
- Use one u003Ch1u003E per page for the main topic, then organize subtopics with lower-level headings
- Use u003Ch1u003E tags for every paragraph
- Use headings only for styling, regardless of order
- Never use more than two heading levels
- Place headings inside the u003Cfooteru003E element
The Function of u003Casideu003E
What type of content should be placed inside an u003Casideu003E element?
- Content tangentially related to the main content, such as sidebars or related links
- The primary text and images of the page
- Main navigation links
- Lists of key-value pairs
- Audio and video controls
Semantic Benefits for Accessibility
How do semantic HTML elements enhance web accessibility for users who rely on assistive technologies?
- By providing meaningful structure and landmarks that help screen readers navigate content
- By adding decorative color and fonts
- By speeding up page loading
- By disabling keyboard navigation
- By storing user preferences
Lists and Their Types
Which semantic HTML tag pair would you use for a list of definitions and their explanations?
- u003Cdlu003E and u003Cdtu003E/u003Cddu003E
- u003Culu003E and u003Cliu003E
- u003Colu003E and u003Cliu003E
- u003Csectionu003E and u003Cpu003E
- u003Cheaderu003E and u003Ch1u003E