🍋
Menu
.html Document

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

Use Cases