.HTML File Extension

Hypertext Markup Language File

Developer: WHATWG

Learn about .HTML files and view a list of programs that open them.

What is a .html file?

Learn about .HTML files and view a list of programs that open them.

Properties

Related Formats
3d3d23dm3ds3ds-to-dae3ds-to-dwg3ds-to-fbx3ds-to-glb3ds-to-gltf3ds-to-obj3ds-to-pdf3ds-to-ply3ds-to-stl3ds-to-usdz3mf3mf-to-3ds3mf-to-dae3mf-to-glb3mf-to-html3mf-to-obj

More Information

An HTML 4 document is composed of three parts:

a line containing HTML version informationa declarative header sectiona body, which contains the document’s actual content. The body may be implemented by the BODY element or the FRAMESET element to contain the body in frames

Each section can be lead or followed by white spaces, newlines, tabs and comments. An example of a simple HTML document is as shown below:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <HTML> <HEAD> <TITLE>Understanding HTML File Format</TITLE> </HEAD> <BODY> <P>Hello World! </BODY> </HTML>

HTML was introduced in 1991 by Tim Berners-Lee and other CERN engineers as a way for web browsers to interpret and display webpages. Since its release, it has become a standard in web development and has gone through multiple revisions, which include HTML 2 (1995), HTML 3 (January 1997), HTML 4 (December 1997), and HTML 5 (2014).

The Web Hypertext Application Technology Working Group (WHATWG) develops and advances HTML. The group was founded in 2004 and consists of major browser developers, including Google, Microsoft, Apple, and Mozilla.

The markup language features HTML elements that make up the structure of webpages. Typically, each element includes an opening tag enclosed in angle brackets (<tag>) and a closing tag enclosed in angle brackets but with a forward slash preceding the tag (</tag>).

Some examples of basic elements include:

<head> - Head tag used to contain metadata about a webpage <body> - Body tag that defines the body of a webpage <h1> - Text header tag used to create a text title in a webpage <p> - Paragraph tag used to define a paragraph in a webpage

<img> - Image tag used to embed an image in a webpage

<ul> - Unordered list to create a bulleted list in a webpage <div> - Divider tag used to create a section in a webpage

Over time, other web technologies, such as Cascading Style Sheets (CSS) and JavaScript, have been introduced to enhance webpages. You will most likely find CSS or JavaScript code or references to .CSS or .JS files in modern HTML webpages.

Web developers often create and edit HTML files, then upload them to web servers that web browsers parse when a user visits webpages. If you are an average Internet user, you most likely will not see the HTML source code since your web browser parses it in the background.

However, you can still view the HTML of a webpage with a web browser by following these steps specific to the browser:

Google Chrome (Windows) - Select More tools → Developer tools

Google Chrome (Mac) - Select View → Developer → View Source

Mozilla Firefox - Select Web Developer → Page Source

Microsoft Edge - Select More tools → Developer tools

Apple Safari - Select Develop → Show Page Source

NOTE: Most pages within static websites have an .html extension, while pages within dynamic websites may have a .php or .asp extension.

Technical Details

An HTML 4 document is composed of three parts:

a line containing HTML version informationa declarative header sectiona body, which contains the document’s actual content. The body may be implemented by the BODY element or the FRAMESET element to contain the body in frames

Each section can be lead or followed by white spaces, newlines, tabs and comments. An example of a simple HTML document is as shown below:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <HTML> <HEAD> <TITLE>Understanding HTML File Format</TITLE> </HEAD> <BODY> <P>Hello World! </BODY> </HTML>

HTML was introduced in 1991 by Tim Berners-Lee and other CERN engineers as a way for web browsers to interpret and display webpages. Since its release, it has become a standard in web development and has gone through multiple revisions, which include HTML 2 (1995), HTML 3 (January 1997), HTML 4 (December 1997), and HTML 5 (2014).

The Web Hypertext Application Technology Working Group (WHATWG) develops and advances HTML. The group was founded in 2004 and consists of major browser developers, including Google, Microsoft, Apple, and Mozilla.

The markup language features HTML elements that make up the structure of webpages. Typically, each element includes an opening tag enclosed in angle brackets (<tag>) and a closing tag enclosed in angle brackets but with a forward slash preceding the tag (</tag>).

Some examples of basic elements include:

<head> - Head tag used to contain metadata about a webpage <body> - Body tag that defines the body of a webpage <h1> - Text header tag used to create a text title in a webpage <p> - Paragraph tag used to define a paragraph in a webpage

<img> - Image tag used to embed an image in a webpage

<ul> - Unordered list to create a bulleted list in a webpage <div> - Divider tag used to create a section in a webpage

Over time, other web technologies, such as Cascading Style Sheets (CSS) and JavaScript, have been introduced to enhance webpages. You will most likely find CSS or JavaScript code or references to .CSS or .JS files in modern HTML webpages.

Web developers often create and edit HTML files, then upload them to web servers that web browsers parse when a user visits webpages. If you are an average Internet user, you most likely will not see the HTML source code since your web browser parses it in the background.

However, you can still view the HTML of a webpage with a web browser by following these steps specific to the browser:

Google Chrome (Windows) - Select More tools → Developer tools

Google Chrome (Mac) - Select View → Developer → View Source

Mozilla Firefox - Select Web Developer → Page Source

Microsoft Edge - Select More tools → Developer tools

Apple Safari - Select Develop → Show Page Source

NOTE: Most pages within static websites have an .html extension, while pages within dynamic websites may have a .php or .asp extension.

How to open .html files

  • You can open and edit HTML files with various source code editors and web development applications. Microsoft Visual Studio Code (multiplatform) is a helpful source code editor and Adobe Dreamweaver (multiplatform) is a popular web development application.
  • Since HTML language is saved in plain text, you can also open and edit HTML files with a basic text editor, such as Microsoft Notepad (Windows) or Apple TextEdit (Mac). However, these text editors do not come with features included with source code editors and web development apps that make it easier for developers to code.
  • You can preview an HTML webpage by opening it with a web browser, such as Google Chrome (multiplatform), Microsoft Edge (multiplatform), Mozilla Firefox (multiplatform), or Apple Safari (Mac and iOS).

Programs that open .html files:

Windows
Google Chrome
Bitberry File Opener
Mozilla Firefox
Opera
Microsoft Edge
Brackets
UltraEdit
EditPlus
Vivaldi
Adobe ColdFusion Builder
Eclipse IDE
Write
Microsoft Visual Studio Code
Adobe Dreamweaver
Microsoft Notepad
Apple TextEdit
Apple Safari
File Viewer Plus
Adobe Dreamweaver 2021

Quick Facts

File Extension
.html
Developer
WHATWG
File Type
Hypertext Markup Language File
Last Updated
2025-11-02T02:43:26.397Z

Related File Types