Semantic HTML
Definition
Using HTML elements that convey meaning about the content they contain, rather than just presentation. Elements like `<article>`, `<nav>`, `<header>`, `<main>`, and `<section>` improve accessibility, SEO, and code readability.
Code Example
Html
Learn More
Related Terms
DOM
Document Object Model — a tree-structured representation of an HTML document that allows JavaScript to read and manipulate page content, structure, and styles. Every HTML element becomes a node in the DOM tree.
AccessibilityThe practice of making web content usable by everyone, including people using screen readers, keyboards, or other assistive technologies. Key practices include semantic HTML, ARIA attributes, alt text, focus management, and color contrast.