liveBook · Manning

Semantic markup

Also called semantic HTML

Semantic markup is the practice of using HTML elements according to the meaning and structural or interactive role of their content.

How 7 Manning books explain it

Architecting Accessibility

Semantic HTML is the use of HTML elements whose names and structure convey the meaning, role, and organization of content.

How it is used
Provides meaningful page structure and controls so browsers can communicate them to assistive technologies.
How deep it goes
Works through a generic-container page refactoring and explains the accessibility tree; treats custom component behavior separately.
Examples
Contrasts a div-and-span page with headed sections and lists, and compares a native button with a custom substitute.
What you can do after
Apply it via native HTML elements to make page regions, headings, lists, and controls easier to interpret and navigate.

Read how Architecting Accessibility explains semantic markup →

Vanilla Web

The practice of using HTML elements according to their meaning to represent a document's content and structure.

How it is used
Establishes an interface’s content, structure, and meaning before styling and interactivity are added.
How deep it goes
Defines the practice and compares element choices with div-heavy markup; does not teach HTML from scratch.
Examples
Contrasts a div-heavy page fragment with a header, heading, main region, and list of navigation links.
What you can do after
Apply it by choosing native elements for page regions, content, and controls before adding CSS, JavaScript, or ARIA.

Read how Vanilla Web explains semantic markup →

D3.js in Action, Third Edition

Semantic HTML is the practice of using HTML elements according to their intended structural or interactive meaning.

How it is used
Improves visualization accessibility by giving page structure, controls, lists, and graphics meanings that assistive technology can interpret.
How deep it goes
Demonstrates element choices and accessible visualization code, but defers broader accessibility topics such as contrast and keyboard focus.
Examples
Uses a cetacean scatterplot, legends, filter buttons, semantic layout, SVG descriptions, and an alternative downloadable data table.
What you can do after
Build accessible visualization interfaces with meaningful HTML, labeled SVG graphics, stateful buttons, and alternative tabular data.

Read how D3.js in Action, Third Edition explains semantic markup →

Web Design Playground, Second Edition

An HTML5 page layout tag is a semantic HTML element that identifies a major structural area of a web page.

How it is used
Identifies the roles of major page areas so automated readers can better interpret content.
How deep it goes
Defines seven elements and demonstrates a nested page skeleton, while deferring visual arrangement beyond default flow.
Examples
Shows a complete page skeleton and a portfolio with navigation, content sections, and a copyright footer.
What you can do after
Build it from scratch by selecting HTML5 elements for a page’s major content areas.

Read how Web Design Playground, Second Edition explains semantic markup →

Design for Developers

Semantic HTML is the practice of structuring a document with HTML elements that accurately express the meaning and hierarchy of its content.

How it is used
Improves accessibility, code maintainability, search visibility, and baseline user experience through meaningful HTML structure.
How deep it goes
Explains structural and typographic choices with examples, then connects them to progressive enhancement without detailing HTML parsing internals.
Examples
Uses header, article, section, headings, div, b, and strong to contrast structural meaning, textual importance, and visual styling.
What you can do after
Apply semantic HTML by choosing meaningful elements, heading levels, and emphasis tags before layering CSS or JavaScript.

Read how Design for Developers explains semantic markup →

Acing the Frontend Interview

A semantic HTML element is an HTML element whose name conveys the structural meaning or purpose of its content.

How it is used
Guides HTML and JSX structure toward meaningful content, accessibility, SEO, maintainability, and cross-browser compatibility.
How deep it goes
Defines semantic element choice and hierarchy, then applies them in a React component without detailing browser internals.
Examples
Uses a favorite-article page with titles, subtitles, sections, subsections, paragraphs, metadata, and copyright.
What you can do after
Build semantic article components in JSX and explain their accessibility, SEO, maintainability, and interview significance.

Read how Acing the Frontend Interview explains semantic markup →

Web Design Playground

An HTML5 structural element used to organize page content into semantic sections such as header, navigation, main content, article, aside, section, and footer.

How it is used
Organizes page content into recognizable regions that improve interpretation by browsers, search crawlers, screen readers, and developers.
How deep it goes
Defines seven core HTML5 layout elements and demonstrates their nesting, while leaving detailed styling and layout strategies to CSS.
Examples
Uses holy-grail layouts, photo galleries, portfolio pages, navigation lists, article sections, sidebars, logos, and footers.
What you can do after
Apply it via HTML5 elements to build page structures that communicate the meaning and organization of their content.

Read how Web Design Playground explains semantic markup →

Also covered in

What to know first

Related concepts

Questions about semantic markup

What is semantic markup?

Semantic markup is the practice of using HTML elements according to the meaning and structural or interactive role of their content.

Which Manning books explain semantic markup?

Architecting Accessibility, Vanilla Web, D3.js in Action, Third Edition, Web Design Playground, Second Edition, Design for Developers, Acing the Frontend Interview and Web Design Playground.

What should I know before learning semantic markup?

Manning books that teach semantic markup usually introduce HTML, CSS, accessibility and div first.

What is the difference between semantic markup and generic element?

Semantic markup is the practice of using HTML elements according to the meaning and structural or interactive role of their content. A generic element is an HTML element such as div or span that provides little or no built-in semantic meaning.

What kinds of semantic markup are there?

Kinds of semantic markup include aside element.

What is semantic markup also called?

Semantic markup is also called semantic HTML.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.