What Is the File Extension HTML?
HTML (Hypertext Markup Language) is the language used to create Web documents. HTML is a markup language, i.e., it marks up text and is not to be confused with a programming language. When used as a file extension, it informs a Web browser such a Firefox that the file is a Web document.
-
Hypertext
-
Hypertext is computer-displayed text that is interactive and has the capacity to reference text in another document. That text is referenced by the use of links. By clicking on a link, you will be transferred from the original document to the linked document.
Markup Language
-
Markup Language is a set of tags that describes the content and appearance of a document when it is displayed on a Web browser. These tags use brackets to differentiate them from the text. For example, when using the <i> tag, the Web browser is informed to make the text following it italic. Tags are often, but not always used in pairs. The end of a tag is indicated with a slash, such as </i>.
-
HTML
-
When you combine the text with the tags, you have an html document. The tags will not be displayed. For example, when you type the following tags and text, <h1>My Document Title</h1>, the web browser is informed that this text is a first-level heading and will style the text accordingly, but only the text will be displayed: My Document Title.
Static vs. Dynamic
-
As a file extension, HTML is often used for Web pages that are static, meaning the content doesn't change and can only be edited and updated manually. Dynamic Web pages update in real time by way of database access. Dynamic Web pages have extensions such as PHP and ASP.
-
References
Resources
- Photo Credit building internet image by Danielle Bonardelle from Fotolia.com