From: =?Windows-1252?Q?Enregistr=E9_par_Windows_Internet_Explorer_8?= Subject: HTML: The Markup Language Reference Date: Thu, 20 Jan 2011 04:45:37 +0100 MIME-Version: 1.0 Content-Type: multipart/related; type="text/html"; boundary="----=_NextPart_000_006B_01CBB85C.E1EBCC60" X-MimeOLE: Produced By Microsoft MimeOLE V6.1.7600.16543 This is a multi-part message in MIME format. ------=_NextPart_000_006B_01CBB85C.E1EBCC60 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Location: http://www.w3.org/TR/2011/WD-html-markup-20110113/ =EF=BB=BF HTML: The Markup Language Reference
jump
3DW3C=20

HTML: The Markup Language Reference

W3C Working Draft 13 January 2011

This Version:=20
http://www.w3= .org/TR/2011/WD-html-markup-20110113/=20
Latest Published Version:=20
http://www.w3.org/TR/html-mark= up/=20
Previous Versions:=20
http://www.w3= .org/TR/2010/WD-html-markup-20101019/=20
http://www.w3= .org/TR/2010/WD-html-markup-20100624/=20
http://www.w3= .org/TR/2010/WD-html-markup-20100304/=20
Editor=E2=80=99s Draft:=20
http://dev.w3.org/html5/markup/<= /A>=20
Editors:=20
Michael(tm) Smith = <sideshowbarker@gmail.com>= =20

The content of this document is also available as a = single HTML=20 file.

Copyrigh= t =C2=A9=20 2011 W3C=C2=AE (MIT, ERCIM,=20 Keio), All Rights Reserved. W3C = l= iability,=20 tra= demark=20 and document = use rules apply.


Abstract

This non-normative reference describes the HTML markup language and = provides=20 details to help producers of HTML content create documents that conform = to the=20 language. It is intended to complement the normative conformance = criteria=20 defined in the HTML5: A = vocabulary and=20 associated APIs for HTML and XHTML specification, as well as = information in=20 related deliverables published by the HTML Working Group and from other = sources.=20 By design, this reference does not describe related APIs in detail, nor = attempt=20 to explain how implementations that are consumers of HTML content are = meant to=20 process documents (those areas are covered by the HTML5 specification itself), = nor=20 attempt to also be a tutorial or =E2=80=9Chow to=E2=80=9D authoring = guide.

Status of this Document

This section describes the status of this document at the time of = its=20 publication. Other documents may supersede this document. A list of = current W3C=20 publications and the latest revision of this technical report can be = found in=20 the W3C technical reports index at = http://www.w3.org/TR/.

This document is the 13 January 2011 Working Draft of HTML: The = Markup=20 Language Reference. If you=E2=80=99d like to comment on this = document, the=20 preferred means for commenting is to submit your comments through the HTML=20 Working Group bugzilla database, with the Component field set to=20 HTML5: The Markup Language. Alternatively, you can send = comments by e-mail to public-html-comments@w3.org (archive= d).=20

This document was published by the W3C=20 HTML Working Group, part of the HTML Activity in the = W3C Interaction Domain.

Instability and incompleteness of this = document

This document is a working draft =E2=80=94 all parts of it remain = subject to=20 significant change or removal, and some parts are currently incomplete; = in=20 particular, many elements currently lack complete documentation in the = following=20 subsections:

Examples=20
The documentation for each element ideally have at least one = conformant=20 example and at least one non-conformant example.=20
Details=20
The purpose of this subsection is to provide, where needed, = additional=20 details about the semantics of the element and its attributes.=20
Additional constraints and=20 admonitions=20
This purpose of this subsection is to provide, where needed, = additional=20 document-conformance constraints and usage admonitions for the element = and its=20 attributes (in addition to those already documented in the = Permitted=20 content, Permitted attributes, Permitted parent = elements,=20 and Tag omission subsections).

Publication as a Working Draft does not imply endorsement by the W3C=20 Membership. This is a draft document and may be updated, replaced or = obsoleted=20 by other documents at any time. It is inappropriate to cite this = document as=20 other than work in progress.

This document was produced by a group operating under the 5 February = 2004 W3C=20 Patent Policy. This document is informative only. W3C maintains a public list of = any patent=20 disclosures made in connection with the deliverables of the group; = that page=20 also includes instructions for disclosing a patent. An individual who = has actual=20 knowledge of a patent which the individual believes contains Essential=20 Claim(s) must disclose the information in accordance with section=20 6 of the W3C Patent Policy.

Table of Contents # T=20

  • 1.  Introduction=20
  • 2.  Terminology=20
  • 3.  Documents=20
  • 4.  HTML=20 syntax=20
  • 5.  HTML=20 elements organized by function=20
  • 6.  HTML=20 elements=20
  • 7.  Common=20 content models=20
  • 8.  Global=20 attributes=20
  • 9.  Data=20 types (common microsyntaxes)
  • A.  References=20
  • B.  Acknowledgments
  • Index=20 of terms

Full Table of Contents

  • 1.  Introduction=20
  • 2.  Terminology=20
  • 3.  Documents=20
    • 3.1.  The=20 HTML language and HTML and XML syntaxes=20
    • 3.2.  The=20 HTML namespace and MIME types=20
    • 3.3.  Conformant documents=20
    • 3.4.  Case=20 insensitivity in tag names and attribute names
  • 4.  HTML=20 syntax=20
    • 4.1.  The=20 doctype=20
    • 4.2.  Character encoding = declaration=20
    • 4.3.  Elements=20
    • 4.4.  Attributes=20
    • 4.5.  Text=20 and character data=20
    • 4.6.  Character references=20
    • 4.7.  Comments=20
    • 4.8.  SVG=20 and MathML elements in HTML documents=20
    • 4.9.  CDATA sections in SVG and MathML=20 contents
  • 5.  HTML=20 elements organized by function=20
  • 6.  HTML=20 elements=20
    • =E2=93=98=20 a =E2=80=93 hyperlink=20 CHANGED=20
    • =E2=93=98=20 abbr =E2=80=93 abbreviation=20
    • =E2=93=98=20 address =E2=80=93 contact=20 information=20
    • =E2=93=98=20 area =E2=80=93 image-map=20 hyperlink=20
    • =E2=93=98=20 article =E2=80=93 article NEW=20
    • =E2=93=98=20 aside =E2=80=93 tangential=20 content NEW=20
    • =E2=93= =98=20 audio =E2=80=93 audio = stream NEW=20
    • =E2=93=98=20 b =E2=80=93 offset = text conventionally=20 styled in bold CHANGED=20
    • =E2=93=98=20 base =E2=80=93 base = URL=20
    • =E2=93=98=20 <= SPAN=20 class=3Dtoc-section-number>bdi =E2=80=93 BiDi=20 isolate NEW=20
    • =E2=93=98=20 <= SPAN=20 class=3Dtoc-section-number>bdo =E2=80=93 BiDi=20 override=20
    • =E2=93=98=20 blockquote =E2=80=93 block=20 quotation=20
    • =E2=93=98=20 body =E2=80=93 document=20 body=20
    • =E2=93=98=20 br =E2=80=93 line = break=20
    • =E2=93=98=20 button =E2=80=93 button=20
    • =E2=93=98=20 button type=3Dsubmit =E2=80=93 submit=20 button=20
    • =E2=93=98=20 button type=3Dreset =E2=80=93 reset=20 button=20
    • =E2=93=98=20 button type=3Dbutton =E2=80=93 button with=20 no additional semantics=20
    • =E2=93=98=20 canvas =E2=80=93 canvas for dynamic=20 graphics NEW=20
    • =E2=93=98=20 caption =E2=80=93 table=20 title=20
    • =E2=93=98=20 cite =E2=80=93 cited = title of a=20 work CHANGED=20
    • =E2=93=98=20 code =E2=80=93 code=20 fragment=20
    • =E2=93=98=20 <= SPAN=20 class=3Dtoc-section-number>col =E2=80=93 table=20 column=20
    • =E2=93=98=20 colgroup =E2=80=93 table column=20 group=20
    • =E2=93=98=20 command =E2=80=93 command NEW=20
    • =E2=93=98=20 command type=3Dcommand =E2=80=93 command=20 with an associated action NEW=20
    • =E2=93=98=20 command type=3Dradio =E2=80=93 selection of=20 one item from a list of items NEW=20
    • =E2=93=98=20 command type=3Dcheckbox =E2=80=93 state or=20 option that can be toggled NEW=20
    • =E2=93=98=20 datalist =E2=80=93 predefined options for=20 other controls NEW=20
    • =E2=93=98=20 dd =E2=80=93 description or=20 value=20
    • =E2=93=98=20 <= SPAN=20 class=3Dtoc-section-number>del =E2=80=93 deleted = text=20
    • =E2=93=98=20 details =E2=80=93 control for additional=20 on-demand information NEW=20
    • =E2=93=98=20 <= SPAN=20 class=3Dtoc-section-number>dfn =E2=80=93 defining=20 instance=20
    • =E2=93=98=20 <= SPAN=20 class=3Dtoc-section-number>div =E2=80=93 generic = flow=20 container=20
    • =E2=93=98=20 dl =E2=80=93 description=20 list=20
    • =E2=93=98=20 dt =E2=80=93 term or=20 name=20
    • =E2=93=98=20 em =E2=80=93 emphatic = stress=20
    • =E2=93=98=20 embed =E2=80=93 integration point for=20 plugins NEW=20
    • =E2=93=98=20 fieldset =E2=80=93 set of related form=20 controls=20
    • =E2=93=98=20 figcaption =E2=80=93 figure=20 caption NEW=20
    • =E2=93=98=20 figure =E2=80=93 figure with optional=20 caption NEW=20
    • =E2=93=98=20 footer =E2=80=93 footer=20 NEW=20
    • =E2=93=98=20 form =E2=80=93 user-submittable=20 form=20
    • =E2=93=98=20 h1 =E2=80=93 heading=20
    • =E2=93=98=20 h2 =E2=80=93 heading=20
    • =E2=93=98=20 h3 =E2=80=93 heading=20
    • =E2=93=98=20 h4 =E2=80=93 heading=20
    • =E2=93=98=20 h5 =E2=80=93 heading=20
    • =E2=93=98=20 h6 =E2=80=93 heading=20
    • =E2=93=98=20 head =E2=80=93 document metadata=20 container=20
    • =E2=93=98=20 header =E2=80=93 header=20 NEW=20
    • =E2=93=98=20 hgroup =E2=80=93 heading=20 group NEW=20
    • =E2=93=98=20 hr =E2=80=93 thematic = break CHANGED=20
    • =E2=93=98=20 html =E2=80=93 root=20 element=20
    • =E2=93=98=20 i =E2=80=93 offset = text conventionally=20 styled in italic CHANGED=20
    • =E2=93=98=20 iframe =E2=80=93 nested browsing context=20 (inline frame)=20
    • =E2=93=98=20 <= SPAN=20 class=3Dtoc-section-number>img =E2=80=93 image=20
    • =E2=93=98=20 input =E2=80=93 input = control CHANGED=20
    • =E2=93=98=20 input type=3Dtext=20 =E2=80=93 text-input field =
    • =E2=93=98=20 input type=3Dpassword =E2=80=93 password-input field=20
    • =E2=93=98=20 input type=3Dcheckbox =E2=80=93 checkbox=20
    • =E2=93=98=20 input type=3Dradio =E2=80=93 radio=20 button=20
    • =E2=93=98=20 input type=3Dbutton =E2=80=93 button=20
    • =E2=93=98=20 input type=3Dsubmit =E2=80=93 submit=20 button=20
    • =E2=93=98=20 input type=3Dreset =E2=80=93 reset=20 button=20
    • =E2=93=98=20 input type=3Dfile=20 =E2=80=93 file upload = control=20
    • =E2=93=98=20 input type=3Dhidden =E2=80=93 hidden input=20 control=20
    • =E2=93=98=20 input type=3Dimage =E2=80=93 image-coordinates input control=20
    • =E2=93=98=20 input type=3Ddatetime =E2=80=93 global=20 date-and-time input control NEW=20
    • =E2=93=98=20 input type=3Ddatetime-local =E2=80=93 local date-and-time input = control NEW=20
    • =E2=93=98=20 input type=3Ddate=20 =E2=80=93 date input = control NEW=20
    • =E2=93=98=20 input type=3Dmonth =E2=80=93 year-and-month input control = NEW=20
    • =E2=93=98=20 input type=3Dtime=20 =E2=80=93 time input = control NEW=20
    • =E2=93=98=20 input type=3Dweek=20 =E2=80=93 year-and-week input = control NEW=20
    • =E2=93=98=20 input type=3Dnumber =E2=80=93 number input=20 control NEW=20
    • =E2=93=98=20 input type=3Drange =E2=80=93 imprecise=20 number-input control NEW=20
    • =E2=93=98=20 input type=3Demail =E2=80=93 e-mail=20 address input control NEW=20
    • =E2=93=98=20 input type=3Durl=20 =E2=80=93 URL input = control NEW=20
    • =E2=93=98=20 input type=3Dsearch =E2=80=93 search=20 field NEW=20
    • =E2=93=98=20 input type=3Dtel=20 =E2=80=93 telephone-number-input = field NEW=20
    • =E2=93=98=20 input type=3Dcolor =E2=80=93 color-well=20 control NEW=20
    • =E2=93=98=20 <= SPAN=20 class=3Dtoc-section-number>ins =E2=80=93 inserted=20 text=20
    • =E2=93=98=20 <= SPAN=20 class=3Dtoc-section-number>kbd =E2=80=93 user=20 input=20
    • =E2=93=98=20 keygen =E2=80=93 key-pair generator/input=20 control NEW=20
    • =E2=93=98=20 label =E2=80=93 caption for a form=20 control=20
    • =E2=93=98=20 legend =E2=80=93 title or explanatory=20 caption=20
    • =E2=93=98=20 li =E2=80=93 list = item=20
    • =E2=93=98=20 <= SPAN=20 class=3Dtoc-section-number>map =E2=80=93 image-map=20 definition=20
    • =E2=93=98=20 mark =E2=80=93 marked = (highlighted)=20 text NEW=20
    • =E2=93=98=20 menu =E2=80=93 list = of=20 commands CHANGED=20
    • =E2= =93=98=20 meta =E2=80=93 metadata=20 CHANGED=20
    • =E2=93=98=20 meta name =E2=80=93 name-value=20 metadata=20
    • =E2=93=98=20 meta http-equiv=3Drefresh =E2=80=93 =E2=80=9Crefresh=E2=80=9D=20 pragma directive=20
    • =E2=93=98=20 meta http-equiv=3Ddefault-style =E2=80=93 =E2=80=9Cpreferred stylesheet=E2=80=9D pragma = directive=20
    • =E2=93=98=20 meta http-equiv=3Dcontent-language =E2=80=93 =E2=80=9Cdefault language=E2=80=9D pragma = directive OBSOLETE=20
    • =E2=93=98=20 meta charset =E2=80=93 document=20 character-encoding declaration NEW=20
    • =E2=93=98=20 meta http-equiv=3Dcontent-type =E2=80=93 document character-encoding = declaration=20
    • =E2=93=98=20 meter =E2=80=93 scalar=20 gauge NEW=20
    • =E2=93=98=20 <= SPAN=20 class=3Dtoc-section-number>nav =E2=80=93 group = of navigational=20 links NEW=20
    • =E2=93=98=20 noscript =E2=80=93 fallback content for=20 script=20
    • =E2=93=98=20 object =E2=80=93 generic external=20 content=20
    • =E2=93=98=20 ol =E2=80=93 ordered=20 list=20
    • =E2=93=98=20 optgroup =E2=80=93 group of=20 options=20
    • =E2=93=98=20 option =E2=80=93 option=20
    • =E2=93=98=20 output =E2=80=93 result of a calculation=20 in a form NEW=20
    • =E2=93=98=20 p =E2=80=93 paragraph=20
    • =E2=93=98=20 param =E2=80=93 initialization parameters=20 for plugins=20
    • =E2=93=98=20 <= SPAN=20 class=3Dtoc-section-number>pre =E2=80=93 preformatted=20 text=20
    • =E2=93=98=20 progress =E2=80=93 progress=20 indicator NEW=20
    • =E2=93=98=20 q =E2=80=93 quoted = text=20
    • =E2=93=98=20 rp =E2=80=93 ruby=20 parenthesis NEW=20
    • =E2=93=98=20 rt =E2=80=93 ruby = text=20 NEW=20
    • =E2=93=98=20 ruby =E2=80=93 ruby=20 annotation NEW=20
    • =E2=93=98=20 s =E2=80=93 struck = text=20 CHANGED=20
    • =E2=93=98=20 samp =E2=80=93 (sample)=20 output=20
    • =E2=93=98=20 script =E2=80=93 embedded=20 script=20
    • =E2=93=98=20 section =E2=80=93 section NEW=20
    • =E2=93=98=20 select =E2=80=93 option-selection form=20 control=20
    • =E2=93=98=20 small =E2=80=93 small = print CHANGED=20
    • =E2=93=98=20 source =E2=80=93 media=20 source NEW=20
    • =E2=93=98=20 span =E2=80=93 generic=20 span=20
    • =E2=93=98=20 strong =E2=80=93 strong=20 importance=20
    • =E2=93=98=20 style =E2=80=93 style = (presentation)=20 information=20
    • =E2=93=98=20 <= SPAN=20 class=3Dtoc-section-number>sub =E2=80=93 subscript=20
    • =E2=93=98=20 summary =E2=80=93 summary, caption, or=20 legend for a details control NEW=20
    • =E2=93=98=20 <= SPAN=20 class=3Dtoc-section-number>sup =E2=80=93 superscript=20
    • =E2=93=98=20 table =E2=80=93 table=20
    • =E2=93=98=20 tbody =E2=80=93 table = row=20 group=20
    • =E2=93=98=20 td =E2=80=93 table = cell=20
    • =E2=93=98=20 textarea =E2=80=93 text input=20 area=20
    • =E2=93=98=20 tfoot =E2=80=93 table = footer row=20 group=20
    • =E2=93=98=20 th =E2=80=93 table = header=20 cell=20
    • =E2=93=98=20 thead =E2=80=93 table = heading=20 group=20
    • =E2=93=98=20 time =E2=80=93 date = and/or=20 time NEW=20
    • =E2=93=98=20 title =E2=80=93 document=20 title=20
    • =E2=93=98=20 tr =E2=80=93 table = row=20
    • =E2=93=98=20 track =E2=80=93 supplementary media=20 track NEW=20
    • =E2=93=98=20 ul =E2=80=93 unordered=20 list=20
    • =E2=93=98=20 <= SPAN=20 class=3Dtoc-section-number>var =E2=80=93 variable or placeholder=20 text=20
    • =E2=93= =98=20 video =E2=80=93 video=20 NEW=20
    • =E2=93=98=20 <= SPAN=20 class=3Dtoc-section-number>wbr =E2=80=93 line-break=20 opportunity NEW =
  • 7.  Common=20 content models=20
    • 7.1.  Flow=20 elements=20
    • 7.2.  Metadata elements=20
    • 7.3.  Phrasing elements =
  • 8.  Global=20 attributes=20
    • 8.1.  Core=20 attributes=20
    • 8.2.  Event-handler attributes=20
    • 8.3.  XML=20 attributes
  • 9.  Data=20 types (common microsyntaxes)
  • A.  References=20
  • B.  Acknowledgments
  • Index=20 of terms