Generated by GPT-5-mini| HTML5 specification | |
|---|---|
| Name | HTML5 specification |
| Developer | World Wide Web Consortium |
| Released | 2014 |
| Latest release | Living Standard |
| Programming language | XML, SGML, CSS |
| License | W3C Document License |
HTML5 specification The HTML5 specification defines the semantics, parsing, APIs, and conformance requirements for the fifth major revision of the HyperText Markup Language. It serves as the normative reference for authors, implementers, and standards bodies such as the World Wide Web Consortium, the Web Hypertext Application Technology Working Group, and browser vendors. The specification underpins contemporary web platforms including application frameworks, content management systems, and rich media ecosystems.
HTML5 specification establishes element semantics, content models, and scripting interfaces that integrate with Cascading Style Sheets, WebAssembly, JavaScript, DOM Level 2, and IndexedDB. It specifies how user agents created by organizations like Mozilla Foundation, Google, Microsoft Corporation, and Apple Inc. should parse documents and expose APIs for multimedia features such as HTMLMediaElement, WebRTC, and Canvas API. The document harmonizes prior efforts from legacy standards bodies including the Internet Engineering Task Force and the WHATWG while interfacing with publishing bodies like the Unicode Consortium and archival services including the Internet Archive.
Development began as a reaction to fragmentation among implementations following the early work of the World Wide Web Consortium and earlier editions influenced by Tim Berners-Lee and the CERN team. The project involved cross-industry collaboration with browser vendors—Netscape Communications Corporation alumni, engineers from Opera Software ASA, and corporate contributors from IBM and Adobe Systems—and was shaped by editorial stewardship from the WHATWG and formal endorsement processes of the W3C Advisory Committee. Key milestones include public drafts, interoperability events such as TPAC (Technical Plenary/Advisory Committee Meeting), and the shift to a living standard model led by the WHATWG community.
The specification standardizes semantic elements like
The document prescribes tree construction algorithms and tokenization rules that resolve ambiguous markup and legacy constructs inherited from SGML and early HTML 4.01. It codifies parsing behavior for malformed markup, character encodings coordinated with Unicode Consortium standards, and error-handling approaches consistent with implementations from Mozilla Firefox, Google Chrome, and Microsoft Edge. Conformance requirements reference DOM interfaces from W3C DOM Working Group outputs and scripting semantics from the ECMA-262 specification developed by Ecma International.
Conformance testing aligns with test suites maintained by the W3C Test Suite, interop reports produced at events like W3C Plugtests, and vendor-driven compatibility initiatives such as Web Platform Tests. Major implementers include browser engines like Blink, Gecko, WebKit, and legacy engines evolving from Presto (engine). The specification provides normative conformance classes for user agents, parsers, and authoring tools and establishes procedures for errata and feature deprecation driven by stakeholder groups including the W3C Advisory Committee and corporate standards teams.
Security guidance in the specification addresses injection vectors, mixed content, and origin policies intersecting with Content Security Policy and transport layer protections like Transport Layer Security. Accessibility considerations reference WAI-ARIA roles, the Web Content Accessibility Guidelines, and interoperability with assistive technology projects developed by organizations such as the W3C Web Accessibility Initiative and the National Federation of the Blind. The specification encourages secure defaults and semantic markup practices to improve resilience against threats catalogued by bodies like Open Web Application Security Project and to enhance support for users relying on technologies from vendors including Freedom Scientific and NVDA.