Quiz · 4 questions
🏗️ HTML Foundations
Semantic markup, document structure, and the case for retiring <div> from your first reflex
Level 0Markup Novice
0 XP0/34 lessons0/12 achievements
0/100 XP to next level100 XP to go0% complete
Quiz
01Two pages render identically. Page A uses
<article>, <nav>, <aside>, <header>, <footer>. Page B uses <div class="article">, <div class="nav">, etc. To a sighted user, they look the same. What did Page A buy you that Page B didn't?Hint
Think about every consumer of the page that isn't a sighted human.
02What does actually do, and what happens if you leave it out?
03When is
<div> actually the right choice?Hint
Generic-container-with-no-meaning is exactly the slot
<div> was designed for.04Why is the
even when the image is decorative?
alt attribute mandatory on Comments 0
🔔 Reply notifications (sign in)Sign in — Please sign in to comment.
No comments yet — be the first.