HTML File Documentation

Files with the HTML extension, i.e. Hyper Text Markup Language, store the source code of a specific website written in HTML. In addition to the source code, an HTML file may also contain data such as text, references to graphics or formatted elements.

The source code stored in an HTML file consists of tags that define the structure of the entire website and its format. Files with the HTML extension are usually invisible to the user because their main purpose is to display a specific page in a web browser.

The content of HTML files can be opened by using appropriate browser tools, usually by clicking the "Page Source" option.


Feature Value
File Extension .html or .htm
MIME Type text/html
Primary Purpose Web page structure and content
Developer World Wide Web Consortium (W3C)
Introduced 1990 by Tim Berners-Lee
Character Encoding UTF-8 (Recommended), ISO-8859-1, etc.
Structure Tag-based, with nested elements
Latest Version HTML5
Scripting Support Yes, primarily through JavaScript
Media Embedding Native audio and video embedding with HTML5
Interactivity Through forms, scripts, and multimedia elements
External References Supports linking to CSS, JS, and other assets