Skip to main content
InterviewHubPRO
Section Overview
Q46

Question 46 of 50

Part 3: Advanced Internals, Scale & Production Architecture (Senior / Lead)

92%
HTML5 & Web APIs (50 Qs)•Part 3: Advanced Internals, Scale & Production Architecture (Senior / Lead)

Modern Semantic HTML Elements: `<article>`, `<section>`, `<aside>`, and `<nav>`.

senior LevelSystem Design

In Simple Words: Semantic HTML conveys meaning to browsers, screen readers, and search engine crawlers:

  • <main>: The unique central content of the document (only one visible <main> per page).
  • <article>: Self-contained composition that makes sense independently (blog post, forum comment, tweet).
  • <section>: Thematic grouping of content, typically with a heading.
  • <aside>: Tangentially related content (sidebar, callout box, advertising).
  • <nav>: Section holding major site navigation links.