174
Anlip196
element'send tagp954
may be omitted if thelip196
element is immediately followed by anotherlip196
element or if there is no more
content in the parent element.
Adtp200
element'send tagp954
may be omitted if thedtp200
element is immediately followed by anotherdtp200
element or addp201
element.
Addp201
element'send tagp954
may be omitted if theddp201
element is immediately followed by anotherddp201
element or adtp200
element, or if
there is no more content in the parent element.
App186
element'send tagp954
may be omitted if thepp186
element is immediately followed by anaddressp173
,articlep157
,asidep165
,
blockquotep191
,detailsp544
,divp206
,dlp198
,fieldsetp505
,figcaptionp204
,figurep201
,footerp171
,formp429
,h1p167
,h2p167
,h3p167
,
h4p167
,h5p167
,h6p167
,headerp170
,hgroupp168
,hrp188
,mainp204
,menup548
,navp162
,olp194
,pp186
,prep190
,sectionp159
,tablep394
, orulp196
element, or if there is no more content in the parent element and the parent element is anHTML elementp43
that is not anap207
,audiop329
,
delp267
,insp266
,mapp386
,noscriptp577
, orvideop325
element, or anautonomous custom elementp651
.
Anrtp224
element'send tagp954
may be omitted if thertp224
element is immediately followed by anrtp224
orrpp224
element, or if there is no more
content in the parent element.
Anrpp224
element'send tagp954
may be omitted if therpp224
element is immediately followed by anrtp224
orrpp224
element, or if there is no more
content in the parent element.
Anoptgroupp485
element'send tagp954
may be omitted if theoptgroupp485
element is immediately followed by anotheroptgroupp485
element, or
if there is no more content in the parent element.
Anoptionp486
element'send tagp954
may be omitted if theoptionp486
element is immediately followed by anotheroptionp486
element, or if it is
immediately followed by anoptgroupp485
element, or if there is no more content in the parent element.
Amenuitemp551
element'send tagp954
may be omitted if themenuitemp551
element is immediately followed by amenuitemp551
,hrp188
, or
menup548
element, or if there is no more content in the parent element.
Acolgroupp403
element'sstart tagp953
may be omitted if the first thing inside thecolgroupp403
element is acolp403
element, and if the element is
not immediately preceded by anothercolgroupp403
element whoseend tagp954
has been omitted. (It can't be omitted if the element is empty.)
Acolgroupp403
element'send tagp954
may be omitted if thecolgroupp403
element is not immediately followed by aspace characterp64
or a
commentp962
.
Acaptionp402
element'send tagp954
may be omitted if thecaptionp402
element is not immediately followed by aspace characterp64
or a
commentp962
.
Atheadp405
element'send tagp954
may be omitted if thetheadp405
element is immediately followed by atbodyp404
ortfootp406
element.
Atbodyp404
element'sstart tagp953
may be omitted if the first thing inside thetbodyp404
element is atrp407
element, and if the element is not
immediately preceded by atbodyp404
,theadp405
, ortfootp406
element whoseend tagp954
has been omitted. (It can't be omitted if the element is
empty.)
Atbodyp404
element'send tagp954
may be omitted if thetbodyp404
element is immediately followed by atbodyp404
ortfootp406
element, or if
there is no more content in the parent element.
Atfootp406
element'send tagp954
may be omitted if there is no more content in the parent element.
Atrp407
element'send tagp954
may be omitted if thetrp407
element is immediately followed by anothertrp407
element, or if there is no more
content in the parent element.
Atdp409
element'send tagp954
may be omitted if thetdp409
element is immediately followed by atdp409
orthp410
element, or if there is no more
content in the parent element.
Athp410
element'send tagp954
may be omitted if thethp410
element is immediately followed by atdp409
orthp410
element, or if there is no more
content in the parent element.
We can thus simplify the earlier example further:
<!DOCTYPE HTML><title>Hello</title><p>Welcome to this example.</p>
Example
Example
958