HTML
HTML (HyperText Markup Language) is the standard markup language for structuring content on the web. It uses a system of nested elements and tags to define text, images, links, forms, and other content, which browsers parse into the…
Definition
HTML (HyperText Markup Language) is the standard markup language for structuring content on the web. It uses a system of nested elements and tags to define text, images, links, forms, and other content, which browsers parse into the Document Object Model (DOM) for rendering and interaction.
Overview
HTML was created by Tim Berners-Lee in 1990 as part of the original World Wide Web proposal, and it has evolved through several versions to the current HTML5 (Living Standard), maintained by the WHATWG in collaboration with the W3C. At its core, HTML is a markup language, not a programming language: it describes the structure and semantic meaning of content — headings, paragraphs, lists, links, images, tables, forms — rather than logic or behavior. An HTML document is a tree of elements delimited by tags (e.g. `<p>`, `<div>`, `<a>`), each of which can carry attributes that configure behavior or styling hooks (`class`, `id`, `href`, `src`). Browsers parse this markup into the DOM, a live, in-memory tree representation that CSS styles and JavaScript can query and manipulate. HTML5 introduced many semantic elements (`<header>`, `<nav>`, `<article>`, `<section>`, `<footer>`) that improve accessibility and SEO by conveying document structure to assistive technologies and search engines, along with native APIs for media (`<video>`, `<audio>`), canvas-based graphics, form validation, and offline storage — reducing reliance on plugins like Flash. HTML works in tandem with CSS (presentation) and JavaScript (behavior) to form the three foundational technologies of the web. Every web page, web app, and email template ultimately renders through HTML, making it the most universally deployed markup language in computing.
Key Features
- Tag-based markup describing content structure and semantics
- Forms the DOM tree that CSS and JavaScript operate on
- Semantic elements (header, nav, article, section) for accessibility and SEO
- Native support for embedding media: images, audio, video, canvas
- Built-in form elements and validation attributes
- Hyperlinking via anchor elements, the foundation of the web's navigability
- Backward compatible; browsers gracefully handle unknown or malformed tags