HTML & CSS Quiz: Semantic HTML

This HTML quiz tests semantic elements like <main>, <article>, <nav> and <aside>. You will choose the element that fits a piece of content, spot div-based markup that breaks accessibility and clear up common myths about headings and sections.

मीडियम 10 सवाल ~6 मिनट पास होने के लिए 80%

मोड चुनें

आप गेस्ट के तौर पर खेल रहे हैं: XP और streak सेव रखने के लिए साइन इन करें।

सैंपल सवाल

सवाल 1 / 10

Which element should wrap the content that is unique to this page, leaving out the repeated header, sidebar and footer?

जवाब दिखाएं

B. <main> <main> marks the main content and creates a landmark that screen reader users can jump to. A <div id="main"> looks the same but carries no meaning.

इस क्विज़ में क्या है

  • <header>, <main>, <footer>, <nav> and <aside>
  • <article> vs <section> vs <div>
  • <figure>, <figcaption> and <time>
  • Real buttons instead of clickable divs
  • Heading levels inside sections

अक्सर पूछे जाने वाले सवाल

क्या अकाउंट ज़रूरी है?

नहीं। कोई भी खेल सकता है। XP, streak, badge और हिस्ट्री सेव रखने के लिए साइन इन करें।

क्या मैं इसे दोबारा दे सकता हूं?

हां। आपका बेस्ट स्कोर सेव रहता है, और हर बार सवाल और जवाब शफ़ल होते हैं।