A vocabulary and associated APIs for HTML and XHTML
Please check the errata for any errors or issues reported since publication.
This specification is also available as a single page HTML document. See also translations.
Copyright © 2014 W3C® (MIT, ERCIM, Keio, Beihang), All Rights Reserved. W3C liability, trademark and document use rules apply.
This specification defines the 5th major revision of the core language of the World Wide Web: the Hypertext Markup Language (HTML). In this version, new features are introduced to help Web application authors, new elements are introduced based on research into prevailing authoring practices, and special attention has been given to defining clear conformance criteria for user agents in an effort to improve interoperability.
This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at http://www.w3.org/TR/.
The W3C HTML Working Group is the W3C working group responsible for this specification's progress. This specification is the 28 October 2014 Recommendation.
If you wish to make comments regarding this document in a manner that is tracked by the W3C, please submit them via our our public bug database (open bugs). If you cannot do this then you can also e-mail feedback to public-html@w3.org (subscribe, archives), and arrangements will be made to transpose the comments to our public bug database. All feedback is welcome.
A comprehensive test suite for this specification is maintained and kept up to date as part of the WebPlatform Tests project. Please see the Working Group's implementation report.
Work on evolutions of this specification proceeds at http://www.w3.org/TR/html/. The HTML5 Recommendation represents a milestone in the development of HTML but far from being the end of the road and improvements are already well under way. It is possible that future versions will no longer be published as a monolithic specification but rather as a set of smaller modules. Irrespective of whether that is the case or not, http://www.w3.org/TR/html/ will be maintained as the entry point to the entirety of HTML technology.
Work on extending this specification typically proceeds through extension specifications which should be consulted to see what new features are being reviewed.
The bulk of the text of this specification is also available in the WHATWG HTML Living Standard, under a license that permits reuse of the specification text.
This document has been reviewed by W3C Members, by software developers, and by other W3C groups and interested parties, and is endorsed by the Director as a W3C Recommendation. It is a stable document and may be used as reference material or cited from another document. W3C's role in making the Recommendation is to draw attention to the specification and to promote its widespread deployment. This enhances the functionality and interoperability of the Web.
Work on this specification is also done at the WHATWG. The W3C HTML working group actively pursues convergence of the HTML specification with the WHATWG living standard, within the bounds of the W3C HTML working group charter. There are various ways to follow this work at the WHATWG:
svn checkout http://svn.whatwg.org/webapps/The following editorial changes were made since Proposed Recommendation:
application/xhtml+xml was accepted during PR, leading to a small update to the corresponding section.This document was produced by a group operating under the 5 February 2004 W3C Patent Policy. W3C maintains a public list of any patent disclosures made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains Essential Claim(s) must disclose the information in accordance with section 6 of the W3C Patent Policy.
This document is governed by the 14 October 2005 W3C Process Document.
id attributetitle attributelang and xml:lang attributestranslate attributexml:base attribute (XML only)dir attributeclass attributestyle attributedata-* attributesp elementhr elementpre elementblockquote elementol elementul elementli elementdl elementdt elementdd elementfigure elementfigcaption elementdiv elementmain elementa elementem elementstrong elementsmall elements elementcite elementq elementdfn elementabbr elementdata elementtime elementcode elementvar elementsamp elementkbd elementsub and sup elementsi elementb elementu elementmark elementruby elementrb elementrt elementrtc elementrp elementbdi elementbdo elementspan elementbr elementwbr elementimg element
iframe elementembed elementobject elementparam elementvideo elementaudio elementsource elementtrack elementmap elementarea elementa and area elementsalternate"author"bookmark"help"icon"license"nofollow"noreferrer"prefetch"search"stylesheet"tag"table element
caption elementcolgroup elementcol elementtbody elementthead elementtfoot elementtr elementtd elementth elementtd and th elementsform elementlabel elementinput element
type attribute
type=hidden)type=text) state and Search state (type=search)type=tel)type=url)type=email)type=password)type=date)type=time)type=number)type=range)type=color)type=checkbox)type=radio)type=file)type=submit)type=image)type=reset)type=button)input element attributes
maxlength and minlength attributessize attributereadonly attributerequired attributemultiple attributepattern attributemin and max attributesstep attributelist attributeplaceholder attributeinput element APIsbutton elementselect elementdatalist elementoptgroup elementoption elementtextarea elementkeygen elementoutput elementprogress elementmeter elementfieldset elementlegend elementname attributedirname attributemaxlength attributeminlength attributedisabled attributeautofocus attributeautocomplete attributeWindow object
Window objectWindowProxy objectmultipart/x-mixed-replace resourcesbutton elementinput element as a text entry widgetinput element as domain-specific widgetsinput element as a range controlinput element as a color wellinput element as a checkbox and radio button widgetsinput element as a file upload controlinput element as a buttonmarquee elementmeter elementprogress elementselect elementtextarea elementkeygen element