HTML element
An HTML element is a structural or semantic unit of an HTML document, defined by markup and represented in the document tree.
Web Design Playground, Second Edition
The HTML html element is the document's outermost element and root of the HTML element tree.
- How it is used
- Uses elements to give web-page content structure, readability, and meaning.
- How deep it goes
- Defines elements, distinguishes them from tags, explains paired syntax, and identifies html as the root, but stops short of advanced element behavior.
- Examples
- Uses an h1 heading and contrasts plain text with text organized by basic HTML elements.
- What you can do after
- Build it from scratch by marking page content with opening and closing HTML tags.
Read how Web Design Playground, Second Edition explains HTML element →
Build a Website with ChatGPT
An HTML element is a structural or semantic unit in an HTML document represented by markup and its content.
- How it is used
- Uses HTML elements to organize page areas, content, navigation, and closing information into a browser-displayed layout.
- How deep it goes
- Defines major layout elements and their roles, but stops short of detailed article and aside treatment.
- Examples
- Uses book-club, baking, article-page, and pun-generator markup examples to demonstrate headers, sections, headings, paragraphs, and footers.
- What you can do after
- Build it from scratch by arranging headers, navigation, main content, sections, paragraphs, and footers in an HTML page.
Read how Build a Website with ChatGPT explains HTML element →
Web Design Playground
A distinct part of a document or markup tree that can be targeted for styling or structure.
- How it is used
- Marks page content so browsers can display emphasis and headings and organize a basic page.
- How deep it goes
- Defines elements versus tags and explains paired containers, while deferring other semantic page divisions.
- Examples
- Shows heading tags from h1 through h6 and an HTML5 starter layout with head, style, and body.
- What you can do after
- Build it from scratch by pairing tags to mark headings and assembling a basic HTML page structure.
HTML5 in Action
An HTML5 element is a markup element defined by the HTML5 specification.
- How it is used
- Uses elements to structure HTML5 documents and add semantic or application features.
- How deep it goes
- Explains basic document structure and selected compatibility workarounds, rather than cataloging the full element vocabulary.
- Examples
- Uses <html>, <head>, <body>, <video>, and <header> to illustrate structure, features, and compatibility.
- What you can do after
- Apply HTML5 elements in document structure and account for styling limits in IE 6–8.
WordPress Power Toolkit: Harness AI to build next-level websites
An HTML element is a document structure consisting of an opening tag, optional content, and a closing tag or equivalent empty-element syntax.
- How it is used
- Structures webpage content and provides targets for styling, embedding media, and organizing visible page components.
- How deep it goes
- Defines tags, content, closing tags, attributes, and common element types, then applies them to styling and video embedding.
- Examples
- Uses headings, paragraphs, divisions, spans, tables, images, hyperlinks, and an iframe video embed as concrete examples.
- What you can do after
- Apply it via HTML by recognizing element parts, editing attributes, and modifying an embedded video's settings.
Read how WordPress Power Toolkit: Harness AI to build next-level websites explains HTML element →
Related concepts
- body elementhas part · The HTML body element contains the content of a document intended for display in a browser.
- iframeincludes · An iframe is an HTML element that embeds a separate document and browsing context within a page.
- HTML taghas part · An HTML tag is angle-bracket-delimited markup that identifies, structures, or marks the boundary of an element in an HTML document.
- buttonincludes · A button is an interactive user-interface control that a user can activate to initiate an action or select an option.
- headingincludes · A heading is a textual or semantic label that introduces or identifies a section of content and may indicate its level in a document hierarchy.
- strong elementincludes · The HTML strong element marks content as having strong importance, seriousness, or urgency.
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.




