.html
🌐 WebText-based

.html File — HyperText Markup Language

text/html

File Inspector

Drop any file to identify its extension and type — runs entirely in your browser

HTML

Drop a .html file here or click to choose

Or drop any file to identify its extension

Expected MIME type:text/html

Quick Facts

Extension.html
Full NameHyperText Markup Language
MIME Typetext/html
CategoryWeb
TypeText-based (human-readable)
Typical Size1 KB – 500 KB
First Appeared1991

What Is a .html File?

HTML (HyperText Markup Language) is the foundational markup language of the World Wide Web, defining the structure and content of web pages through a system of nested elements (tags) that describe headings, paragraphs, links, images, forms, tables, and embedded media. Created by Tim Berners-Lee in 1991, HTML has evolved through several major versions — HTML 2.0 (1995), HTML 4.01 (1999), XHTML (2000), and HTML5 (2014) — with the current HTML Living Standard maintained by WHATWG. HTML5 introduced semantic elements (header, nav, main, article, section, footer), native audio and video, canvas for 2D graphics, SVG integration, web workers, WebSocket, localStorage, geolocation, and drag-and-drop APIs. HTML works in conjunction with CSS for styling and JavaScript for interactivity to form the three pillars of web development. Every web page is fundamentally an HTML document parsed and rendered by the browser's layout engine. HTML supports accessibility through ARIA attributes and semantic markup, internationalization through character encoding and text direction attributes, and SEO through structured metadata and semantic organization.

How to Open .html Files

Any web browser
VS Code
Sublime Text
WebStorm
Dreamweaver
any text editor

Related File Extensions

More Web File Extensions

Other web formats you might encounter

Browse File Extensions by Category

Explore our reference of 259 file extensions with details, programs, and related formats.