Generated by DeepSeek V3.2| HTML | |
|---|---|
| Name | HyperText Markup Language |
| File ext | .html, .htm |
| Mime | text/html |
| Developer | World Wide Web Consortium, WHATWG |
| Released | 1993 |
| Latest release version | Living Standard |
| Genre | Markup language |
| Container for | Web content |
| Extended from | Standard Generalized Markup Language |
| Extended to | XHTML |
| Standard | HTML5 |
HTML. The HyperText Markup Language is the foundational, standard markup language used for creating documents designed to be displayed in a web browser. It defines the structure and meaning of web content, working in conjunction with technologies like Cascading Style Sheets for presentation and JavaScript for interactive behavior. Governed by specifications from the World Wide Web Consortium and the WHATWG, it has evolved from a simple document format to a cornerstone of the modern World Wide Web.
The initial concept for HTML was created in 1989 by Tim Berners-Lee while working at CERN, drawing inspiration from Standard Generalized Markup Language and the early hypertext system ENQUIRE. The first publicly available description, "HTML Tags", was published in 1991, leading to the development of early browsers like the Line Mode Browser and Mosaic (web browser). Subsequent development was driven by the "browser wars" between Netscape Navigator and Internet Explorer, which led to proprietary extensions, prompting the World Wide Web Consortium to standardize versions like HTML 4.01. The modern, living standard known as HTML5 emerged from the work of the WHATWG, formed by individuals from Apple Inc., the Mozilla Foundation, and Opera (web browser), and is now jointly developed with the World Wide Web Consortium.
An HTML document is composed of text content interspersed with markup tags, typically written in a plain text editor like Notepad++ or within an integrated development environment such as Visual Studio Code. The basic syntax involves elements defined by angle brackets, like `
` for a paragraph, which can be nested within other elements to create a hierarchical tree structure known as the Document Object Model. While traditionally forgiving of errors, modern practices encourage adherence to standards set by the World Wide Web Consortium, with validation tools ensuring compatibility across different web browser engines like Blink (browser engine) and Gecko (software).
Core building blocks include elements like `` for creating hyperlinks to other documents or resources, and `` for embedding graphics, which revolutionized the visual nature of the early World Wide Web. Elements are often modified by attributes, such as the `href` attribute in an anchor tag specifying the target Uniform Resource Locator, or the `src` attribute in an image tag. Form elements like ``, `
A well-formed document begins with a `` declaration, followed by an `` root element containing a `
` and a `` section. The `` houses metadata not displayed on the page, including the `