What is the primary benefit of using HTML5 semantic layout elements?
Improved website styling
Smaller file sizes
Enhanced code readability and SEO
Faster page loading times
Which of the following is NOT a valid way to specify colors in HTML?
Hexadecimal codes (e.g., "#FF0000")
Color names (e.g., "red")
CMYK values (e.g., "(0, 100, 100, 0")
RGB values (e.g., "rgb(255, 0, 0)")
How can you improve keyboard navigation for users who cannot use a mouse?
Disabling all JavaScript functionality on the website
Ensuring all interactive elements are reachable by using the 'Tab' key
Using images for all text on the page
Using Flash animations for all interactive elements
What is the primary role of the <section> element in structuring HTML content?
To display content in a sidebar, separate from the main content.
To define a generic container for any type of content.
To create a navigation menu with links.
To group related content thematically, often with a heading.
What is the correct HTML tag for an unordered list?
Which HTML entity would you use to display a non-breaking space?
Â
 
 
 
Which tag is used to create a header cell in an HTML table?
What does 'favicon' stand for in the context of web development?
Fast loading icon
File avatar icon
Favorite icon
Formatted avatar icon
What does the 'alt' attribute provide for an image in HTML?
Image file format
Copyright information
Image dimensions
Alternative text if the image fails to load
What is the correct HTML for creating a nested list item?