HTML (HyperText Markup Language)
HTML is the foundational markup language of the World Wide Web. It structures content with elements for headings, paragraphs, links, images, forms, and multimedia. Every web page is an HTML document interpreted by browsers to render visual content.
MIME Type
text/html
Type
Text
Compression
Lossless
Advantages
- + Universal support in every web browser and email client
- + Semantic elements improve accessibility and SEO
- + Extensible with CSS for styling and JavaScript for interactivity
- + Human-readable source that is easy to inspect and debug
Disadvantages
- − Verbose syntax compared to Markdown for simple content
- − Rendering inconsistencies between browsers require testing
- − Static HTML alone has limited interactivity without JavaScript
When to Use .HTML
Use HTML for web pages, email templates, documentation sites, and any content that will be displayed in a browser.
Technical Details
HTML uses a tree of elements (DOM) defined by opening and closing tags. The browser parses HTML into a Document Object Model, applies CSS for styling, and executes JavaScript for interactivity.
History
Tim Berners-Lee created HTML in 1991 at CERN as part of the World Wide Web project. The W3C and WHATWG evolved the language through HTML 2.0 (1995), XHTML, and the current HTML Living Standard (HTML5+).
Convert from .HTML
Convert to .HTML
Related Formats
Related Terms
Learn More
CSS Units Explained: px, em, rem, vh, and When to Use Each
CSS offers over a dozen length units, each suited to different situations. Understanding the differences between absolute and relative units …
JSON vs YAML vs TOML: Choosing a Configuration Format
Configuration files are the backbone of modern applications. JSON, YAML, and TOML each offer different trade-offs between readability, complexity, and …
Meta Tags for SEO: Title, Description, and Open Graph
Meta tags control how your pages appear in search results and social media shares. This guide covers the essential meta …
Text Encoding Explained: UTF-8, ASCII, and Beyond
Text encoding determines how characters are stored as bytes. Understanding UTF-8, ASCII, and other encodings prevents garbled text, mojibake, and …
Flexbox vs CSS Grid: A Practical Comparison
Flexbox and CSS Grid are complementary layout systems, not competitors. This guide clarifies when to reach for each one and …
How to Format and Validate JSON Data
Malformed JSON causes silent failures in APIs and configuration files. Learn how to format, validate, and debug JSON documents to …