HTML Living Standard Web Standard
The HTML Living Standard describes the behavior of HTML elements and attributes. It is continuously maintained and supersedes HTML4, XHTML1, DOM Level 2 HTML, and all previous HTML specifications, and is is often called HTML5.
Rules
bdomust have adirattributelabelelements may not contain multiple form controlsformust refer to a non-hidden form controlsectionmust not appear insideaddressnavmust not appear insideaddressarticlemust not appear insideaddressasidemust not appear insideaddressfootermust not appear insideheaderelementfootermust not appear insidefooterelementfootermust not appear insideaddresselementh1must not appear insideaddressh2must not appear insideaddressh3must not appear insideaddressh4must not appear insideaddressh5must not appear insideaddressh6must not appear insideaddressheadermust not appear insidefooterheadermust not appear insideaddressheadermust not appear insideheadertablemust not appear insidecaptionsummaryis obsoleteacannot have clickable ancestoradetailscannot have clickable ancestoraembedcannot have clickable ancestoraiframecannot have clickable ancestoralabelcannot have clickable ancestoraacannot have clickable ancestorbuttondetailscannot have clickable ancestorbuttonembedcannot have clickable ancestorbuttoniframecannot have clickable ancestorbuttonlabelcannot have clickable ancestorbuttonbuttoncannot have clickable ancestoratextareacannot have clickable ancestoraselectcannot have clickable ancestorainputcannot have clickable ancestorabuttoncannot have clickable ancestorbuttontextareacannot have clickable ancestorbuttonselectcannot have clickable ancestorbuttoninputcannot have clickable ancestorbuttonbuttoninsidelabelwithformust have anidmatchingfortextareainsidelabelwithformust have anidmatchingforselectinsidelabelwithformust have anidmatchingforinputinsidelabelwithformust have anidmatchingforvideowithcontrolsmust not appear as a descendant ofaaudiowithcontrolsmust not appear as a descendant ofavideowithcontrolsmust not appear as a descendant ofbuttonaudiowithcontrolsmust not appear as a descendant ofbuttonmenuwithtype=toolbarmust not appear insideamenuwithtype=toolbarmust not appear insidebuttonimgwithusemapmust not appear insideaimgwithusemapmust not appear insidebuttonobjectwithusemapmust not appear insideaobjectwithusemapmust not appear insidebuttonareamust be inside amapelementimgwithismapmust be inside anaelement with anhreflistattribute must refer to adatalistelementinput type=buttonmust not have emptyvalueattributelabelattribute must not be emptydefaultattribute can only appear on one track insideaudioorvideoidon amapelement must be identical to thenameattribute- Multiple selected options only allowed when
selecthasmultipleattribute selectwithrequiredmust contain anoptionelement- First
optionin a requiredselectdropdown must have an emptyvalueor empty text content language=JavaScriptcan only be used withtype='text/javascript'scriptcannot have attributecharsetunlesssrcis specifiedscriptcannot have attributedeferunlesssrcis specifiedscriptcannot have attributeasyncunlesssrcortype=moduleis specifiedprogressmust not appear inside anotherprogresselement- Progress
valuemust not be greater thanmax - Progress
valuemust not be greater than 1.0 metermust not appear inside anothermeterelementminmust not be greater thanvaluevaluemust be greater than or equal to 0 ifminnot specifiedvaluemust not be greater thanmaxvaluemust be less than or equal to 1 ifmaxnot specifiedminmust not be greater thanmaxmaxmust be greater than or equal to 0 ifminnot specifiedminmust be less than or equal to 1 ifmaxnot specifiedminmust not be greater thanlowlowmust be greater than or equal to 0 ifminnot specifiedminmust not be greater thanhighhighmust be greater than or equal to 0 ifminnot specifiedlowmust not be greater thanhighhighmust not be greater thanmaxhighmust be less than or equal to 1 ifmaxnot specifiedlowmust not be greater thanmaxlowmust be less than or equal to 1 ifmaxnot specifiedminmust not be greater thanoptimumoptimummust be greater than or equal to 0 ifminnot specifiedoptimummust not be greater thanmaxoptimummust be less than or equal to 1 ifmaxnot specifiedacronymis obsoleteappletis obsoletecenteris obsoletefontis obsoletebigis obsoletestrikeis obsoletettis obsoletebasefontis obsoletediris obsoleteframesetis obsoletenoframesis obsoletecoordsonais obsoleteshapeonais obsoleteurnonais obsoletecharsetonais obsoletemethodsonais obsoletetargetonlinkis obsoleteurnonlinkis obsoletecharsetonlinkis obsoletemethodsonlinkis obsoletenohrefonareais obsoletenameonembedis obsoleteprofileonheadis obsoleteversiononhtmlis obsoletenameonimgis obsoleteusemaponinputis obsoletetypeon thelielement is obsoletetypeon theulelement is obsoleteschemeonmetais obsoletemeta http-equiv=content-languageis obsoletearchiveonobjectis obsoleteclassidonobjectis obsoletecodeonobjectis obsoletecodebaseonobjectis obsoletecodetypeonobjectis obsoletedeclareonobjectis obsoletestandbyonobjectis obsoletenameonoptionis obsoletetypeonparamis obsoletevaluetypeonparamis obsoletelanguageonscriptis obsoletescopeontdis obsoleteabbrontdis obsoleteaxisontdis obsoleteaxisonthis obsoletealignoncaptionis obsoletealignoniframeis obsoletealignonimgis obsoletealignoninputis obsoletealignonobjectis obsoletealignonembedis obsoletealignonlegendis obsoletealignontableis obsoletealignonhris obsoletealignondivis obsoletealignonh1is obsoletealignonh2is obsoletealignonh3is obsoletealignonh4is obsoletealignonh5is obsoletealignonh6is obsoletealignonpis obsoletealignoncolis obsoletealignoncolgroupis obsoletealignontbodyis obsoletealignontdis obsoletealignontfootis obsoletealignonthis obsoletealignontheadis obsoletealignontris obsoletewidthoncolis obsoletewidthoncolgroupis obsoletewidthonhris obsoletewidthonpreis obsoletewidthontableis obsoletewidthontdis obsoletewidthonthis obsoletecharoncolis obsoletecharoncolgroupis obsoletecharontbodyis obsoletecharontdis obsoletecharontfootis obsoletecharonthis obsoletecharontheadis obsoletecharontris obsoletecharoffoncolis obsoletecharoffoncolgroupis obsoletecharoffontbodyis obsoletecharoffontdis obsoletecharoffontfootis obsoletecharoffonthis obsoletecharoffontheadis obsoletecharoffontris obsoletevalignoncolis obsoletevalignoncolgroupis obsoletevalignontbodyis obsoletevalignontdis obsoletevalignontfootis obsoletevalignonthis obsoletevalignontheadis obsoletevalignontris obsoletealinkonbodyis obsoletebackgroundonbodyis obsoletebgcoloronbodyis obsoletelinkonbodyis obsoletebottommarginonbodyis obsoletemarginheighton thebodyelement is obsoleteleftmarginonbodyis obsoleterightmarginonbodyis obsoletetopmarginon thebodyelement is obsoletemarginwidthon thebodyelement is obsoletetextonbodyis obsoletevlinkonbodyis obsoleteclearonbris obsoletehspaceonembedis obsoletevspaceonembedis obsoletenoshadeon thehrelement is obsoletesizeon thehrelement is obsoletecoloron thehrelement is obsoletecompacton thedlelement is obsoletecompacton themenuelement is obsoletecompacton theolelement is obsoletecompacton theulelement is obsoleteallowtransparencyoniframeis obsoleteframeborderoniframeis obsoletemarginheightoniframeis obsoletemarginwidthoniframeis obsoletescrollingoniframeis obsoletehspaceon theimgelement is obsoletehspaceon theobjectelement is obsoletevspaceon theimgelement is obsoletevspaceon theobjectelement is obsoleteborderon theimgelement is obsoleteborderon theobjectelement is obsoletebgcoloron thetableelement is obsoleteborderon thetableelement is obsoletecellpaddingon thetableelement is obsoletecellspacingon thetableelement is obsoleteframeon thetableelement is obsoleteruleson thetableelement is obsoletebgcoloron thetdelement is obsoletebgcoloron thethelement is obsoleteheighton thetdelement is obsoleteheighton thethelement is obsoletenowrapon thetdelement is obsoletenowrapon thethelement is obsoletebgcoloron thetrelement is obsoletexml:langrequireslangwith same value to be presentborderonimgelement is obsoletelanguageon thescriptelement is obsoletenameon theaelement is obsoletevideoelement has more than one defaulttrackaudioelement has more than one defaulttrackformcannot have ancestorformprogresscannot have ancestorprogressmetercannot have ancestormeterdfncannot have ancestordfnnoscriptcannot have ancestornoscriptlabelcannot have ancestorlabeladdresscannot have ancestoraddresssectioncannot have ancestoraddressnavcannot have ancestoraddressarticlecannot have ancestoraddressheadercannot have ancestorheaderheadercannot have ancestorfooterheadercannot have ancestoraddressfootercannot have ancestorheaderfootercannot have ancestorfooterheadercannot have ancestordtfootercannot have ancestordtarticlecannot have ancestordtnavcannot have ancestordtsectioncannot have ancestordth1cannot have ancestordth2cannot have ancestordth3cannot have ancestordth4cannot have ancestordth5cannot have ancestordth6cannot have ancestordthgroupcannot have ancestordtheadercannot have ancestorthfootercannot have ancestortharticlecannot have ancestorthnavcannot have ancestorthsectioncannot have ancestorthh1cannot have ancestorthh2cannot have ancestorthh3cannot have ancestorthh4cannot have ancestorthh5cannot have ancestorthh6cannot have ancestorthhgroupcannot have ancestorthfootercannot have ancestoraddressh1cannot have ancestoraddressh2cannot have ancestoraddressh3cannot have ancestoraddressh4cannot have ancestoraddressh5cannot have ancestoraddressh6cannot have ancestoraddresstablecannot have ancestorcaptionacannot have ancestoraacannot have ancestorbuttonbuttoncannot have ancestorabuttoncannot have ancestorbuttondetailscannot have ancestoradetailscannot have ancestorbuttondialogcannot have ancestoradialogcannot have ancestorbuttonembedcannot have ancestoraembedcannot have ancestorbuttoniframecannot have ancestoraiframecannot have ancestorbuttonlabelcannot have ancestoralabelcannot have ancestorbuttonselectcannot have ancestoraselectcannot have ancestorbuttontextareacannot have ancestoratextareacannot have ancestorbuttonmaincannot have ancestoramaincannot have ancestoraddressmaincannot have ancestorarticlemaincannot have ancestorasidemaincannot have ancestoraudiomaincannot have ancestorblockquotemaincannot have ancestorcanvasmaincannot have ancestorcaptionmaincannot have ancestorddmaincannot have ancestordelmaincannot have ancestordetailsmaincannot have ancestordialogmaincannot have ancestordtmaincannot have ancestorfieldsetmaincannot have ancestorfiguremaincannot have ancestorfootermaincannot have ancestorheadermaincannot have ancestorinsmaincannot have ancestorlimaincannot have ancestormainmaincannot have ancestormapmaincannot have ancestornavmaincannot have ancestornoscriptmaincannot have ancestorobjectmaincannot have ancestorsectionmaincannot have ancestorslotmaincannot have ancestortdmaincannot have ancestorthmaincannot have ancestorvideoacannot have ancestor withrole=buttonacannot have ancestor withrole=linkbuttoncannot have ancestor withrole=buttonbuttoncannot have ancestor withrole=linkdetailscannot have ancestor withrole=buttondetailscannot have ancestor withrole=linkdialogcannot have ancestor withrole=buttondialogcannot have ancestor withrole=linkembedcannot have ancestor withrole=buttonembedcannot have ancestor withrole=linkiframecannot have ancestor withrole=buttoniframecannot have ancestor withrole=linklabelcannot have ancestor withrole=buttonlabelcannot have ancestor withrole=linkselectcannot have ancestor withrole=buttonselectcannot have ancestor withrole=linktextareacannot have ancestor withrole=buttontextareacannot have ancestor withrole=link- Element with
tabindexcannot have ancestor withrole=button - Element with
tabindexcannot have ancestor withrole=link audiowithcontrolscannot have ancestor withrole=buttonaudiowithcontrolscannot have ancestor withrole=linkimgwithusemapcannot have ancestor withrole=buttonimgwithusemapcannot have ancestor withrole=linkinputcannot have ancestor withrole=buttoninputcannot have ancestor withrole=linkmenuwithtoolbarcannot have ancestor withrole=buttonmenuwithtoolbarcannot have ancestor withrole=linkobjectwithusemapcannot have ancestor withrole=buttonobjectwithusemapcannot have ancestor withrole=linkvideowithcontrolscannot have ancestor withrole=buttonvideowithcontrolscannot have ancestor withrole=linkrole=buttoncannot have ancestor withrole=buttonrole=buttoncannot have ancestor withrole=linkrole=checkboxcannot have ancestor withrole=buttonrole=checkboxcannot have ancestor withrole=linkrole=comboboxcannot have ancestor withrole=buttonrole=comboboxcannot have ancestor withrole=linkrole=gridcannot have ancestor withrole=buttonrole=gridcannot have ancestor withrole=linkrole=gridcellcannot have ancestor withrole=buttonrole=gridcellcannot have ancestor withrole=linkrole=listboxcannot have ancestor withrole=buttonrole=listboxcannot have ancestor withrole=linkrole=menucannot have ancestor withrole=buttonrole=menucannot have ancestor withrole=linkrole=menubarcannot have ancestor withrole=buttonrole=menubarcannot have ancestor withrole=linkrole=menuitemcannot have ancestor withrole=buttonrole=menuitemcannot have ancestor withrole=linkrole=menuitemcheckboxcannot have ancestor withrole=buttonrole=menuitemcheckboxcannot have ancestor withrole=linkrole=menuitemradiocannot have ancestor withrole=buttonrole=menuitemradiocannot have ancestor withrole=linkrole=optioncannot have ancestor withrole=buttonrole=optioncannot have ancestor withrole=linkrole=radiocannot have ancestor withrole=buttonrole=radiocannot have ancestor withrole=linkrole=scrollbarcannot have ancestor withrole=buttonrole=scrollbarcannot have ancestor withrole=linkrole=searchboxcannot have ancestor withrole=buttonrole=searchboxcannot have ancestor withrole=linkrole=slidercannot have ancestor withrole=buttonrole=slidercannot have ancestor withrole=linkrole=spinbuttoncannot have ancestor withrole=buttonrole=spinbuttoncannot have ancestor withrole=linkrole=switchcannot have ancestor withrole=buttonrole=switchcannot have ancestor withrole=linkrole=tabcannot have ancestor withrole=buttonrole=tabcannot have ancestor withrole=linkrole=textboxcannot have ancestor withrole=buttonrole=textboxcannot have ancestor withrole=linkrole=treeitemcannot have ancestor withrole=buttonrole=treeitemcannot have ancestor withrole=link- Element
linknot allowed inbody role=captionmust be owned byrole=figureorgridortableortreegridrole=cellmust be owned byrole=rowrole=optionmust be owned byrole=listboxrole=menuitemmust be owned byrole=menuormenubarrole=menuitemcheckboxmust be owned byrole=menuormenubarrole=menuitemradiomust be owned byrole=menuormenubarorgrouprole=tabmust be owned byrole=tablistrole=treeitemmust be owned byrole=treeorgrouprole=listitemmust be owned byrole=listrole=gridcellmust be owned byrole=rowrole=columnheadermust be owned byrole=rowrole=rowheadermust be owned byrole=rowrole=rowmust be owned byrole=gridorrowgrouportreegridortablerole=rowgroupmust be owned byrole=gridortreegridortablerole=feedmust containrole=articlerole=gridmust containrole=roworrowgrouprole=listmust containrole=listitemrole=listboxmust containrole=optionrole=menumust containrole=menuitemormenuitemcheckboxormenuitemradiorole=menubarmust containrole=menuitemormenuitemcheckboxormenuitemradiorole=radiogroupmust containrole=radiorole=rowmust containrole=cellorcolumnheaderorgridcellorrowheaderrole=rowgroupmust containrole=rowrole=tablemust containrole=roworrowgrouprole=tablistmust containrole=tabrole=treemust containrole=treeitemrole=treegridmust containrole=roworrowgrouptitlemust not be emptyoptionelement must not be emptyusemaprefers to non-existentmap- Autonomous custom elements must not use
is - Only
utf-8is allowed forform accept-charset - Only
utf-8is allowed formeta charset - Only
utf-8is allowed forscript charset - Only
text/cssis allowed forstyle type - Use
figcaptioninstead of tablecaption scriptwithnomodulemust not havetype=modulelink scopecan only be used withrel=serviceworkerlink updateviacachecan only be used withrel=serviceworkerlink workertypecan only be used withrel=serviceworkerblockingcan only be used withmodulepreload,preloadorstylesheetlink colorcan only be used withrel=mask-iconlink disabledcan only be used withrel=stylesheetlink fetchprioritycan only be used with external resource typeslinkmust havehreforimagesrcsetlinkwithimagesizesmust haveimagesrcsetlinkwithimagesizesmust haveas=imagelinkwithimagesrcsetmust haveas=imagelinkwithimagesizesmust haverel=preloadlinkwithimagesrcsetmust haverel=preloadlink sizescan only be used withrel=icon,rel=apple-touch-iconorrel=apple-touch-icon-precomposedlink asonly allowed withrel=preloadorrel=modulepreload- Alternate stylesheets must have a title
link integritycan only be used withrel=stylesheet,rel=preloadorrel=modulepreloadscript fetchpriorityshould only be used withsrcscriptwithintegrityattribute must havesrcscriptwithtype=modulecannot have adeferattributescriptwithtype=importmapcannot havesrcmetawithmediaattribute must havename=theme-color- Avoid meta viewports that prevent zooming
- Multiple
metaelements withname=description - Section lacks heading
- Article lacks heading
- Multiple
meta charsetelements - Multiple
metaelements withcharsetandcontent-type - Multiple
metaelements withhttp-equiv=content-type - Page has multiple
h1elements - Page has multiple
mainelements xml:langwithout matchinglangkeygenis obsoletedatafldis obsoletedataformatasis obsoletedatasrcis obsoletedatapagesizeontableis obsoletelongdesconimgis obsoleteforattribute onscriptis obsoleteeventattribute onscriptelement is obsoleteitemidcan only be used on elements withitemscopeanditemtypeitemrefcan only be used on elements withitemscopeitemtypecan only be used on elements withitemscopeimgwithalt=''must not haverole- Page has multiple
autofocuselements typemustmatchcan only be used whendataandtypeare specifiedimgmust have analtattribute- Broken
aria-activedescendantID reference - Broken
aria-controlsID reference - Broken
aria-describedbyID reference - Broken
aria-flowtoID reference - Broken
aria-labelledbyID reference - Broken
aria-ownsID reference - Unsupported SVG version
aria-hiddennot allowed onbasearia-hiddennot allowed oncolaria-hiddennot allowed oncolgrouparia-hiddennot allowed onheadaria-hiddennot allowed onhtmlaria-hiddennot allowed oninputwithtype=hiddenaria-hiddennot allowed onlinkaria-hiddennot allowed onmaparia-hiddennot allowed onmetaaria-hiddennot allowed onnoscriptaria-hiddennot allowed onparamaria-hiddennot allowed onscriptaria-hiddennot allowed onslotaria-hiddennot allowed onsourcearia-hiddennot allowed onstylearia-hiddennot allowed ontemplatearia-hiddennot allowed ontitlearia-hiddennot allowed ontrackaria-hiddennot allowed on elements withhidden=until-foundaria-attributes are not allowed oninputelements withtype=hiddenrole=articleunnecessary forarticlerole=complementaryunnecessary forasiderole=documentunnecessary forbodyrole=buttonunnecessary forbuttonrole=listboxunnecessary fordatalistrole=definitionunnecessary forddrole=groupunnecessary fordetailsrole=termunnecessary fordfnrole=dialogunnecessary fordialogrole=termunnecessary fordtrole=groupunnecessary forfieldsetrole=figureunnecessary forfigurerole=contentinfounnecessary forfooterrole=formunnecessary forformrole=headingunnecessary forh1role=headingunnecessary forh2role=headingunnecessary forh3role=headingunnecessary forh4role=headingunnecessary forh5role=headingunnecessary forh6role=bannerunnecessary forheaderrole=separatorunnecessary forhrrole=listitemunnecessary forlirole=linkunnecessary forlinkrole=mainunnecessary formainrole=mathunnecessary formathrole=navigationunnecessary fornavrole=listunnecessary forolrole=optionunnecessary foroptionrole=statusunnecessary foroutputrole=progressbarunnecessary forprogressrole=regionunnecessary forsectionrole=listboxunnecessary forselectrole=buttonunnecessary forsummaryrole=tableunnecessary fortablerole=rowgroupunnecessary fortbodyrole=textboxunnecessary fortextarearole=rowgroupunnecessary fortfootrole=rowgroupunnecessary fortheadrole=cellunnecessary fortdrole=rowunnecessary fortrrole=listunnecessary forulrole=columnheaderunnecessary forthmeterdoes not need aroleoptgroupdoes not need arolerole=buttonunnecessary forinput type=buttonrole=checkboxunnecessary forinput type=checkboxrole=buttonunnecessary forinput type=imagerole=spinbuttonunnecessary forinput type=numberrole=radiounnecessary forinput type=radiorole=sliderunnecessary forinput type=rangerole=buttonunnecessary forinput type=resetrole=buttonunnecessary forinput type=submitrole=buttonunnecessary forbutton type=menurole=toolbarunnecessary formenu type=toolbarrole=textboxunnecessary forinput type=emailand nolistattributerole=textboxunnecessary forinput type=teland nolistattributerole=textboxunnecessary forinput type=textand nolistattributerole=searchboxunnecessary forinput type=searchand nolistattributerole=textboxunnecessary forinput type=urland nolistattributerole=comboboxunnecessary forinput type=emailand alistattributerole=comboboxunnecessary forinput type=teland alistattributerole=comboboxunnecessary forinput type=textand alistattributerole=comboboxunnecessary forinput type=searchand alistattributerole=comboboxunnecessary forinput type=urland alistattributearia-haspopupshould not be used oninput type=emailwith alistattributearia-haspopupshould not be used oninput type=telwith alistattributearia-haspopupshould not be used oninput type=textwith alistattributearia-haspopupshould not be used oninput type=searchwith alistattributearia-haspopupshould not be used oninput type=urlwith alistattributerole=listitemunnecessary forliinsideolorulrole=linkunnecessary fora,areaandlinkwithhrefrole=comboboxunnecessary forselectelements withsizeless than tworole=listboxunnecessary forselectwithmultipleorsizegreater than one- Non-empty
img altused withrole=noneorrole=presentation imgwith noaltcannot have aroleimgwith noaltcannot havearia-attributesfigurewith afigcaptionmust not have aroleroleforbidden ontdthandtrelements inside tablesaria-colspannot needed withcolspanaria-colspanmust matchcolspanaria-disablednot needed withdisabledaria-disabled=falsecannot be used withdisabledaria-hiddennot needed withhiddenaria-hidden=falsecannot be used withhiddenaria-readonlynot needed withreadonlyaria-readonly=falsecannot be used withreadonlyaria-requirednot needed withrequiredaria-required=falsecannot be used withrequiredaria-rowspannot needed withrowspanaria-rowspanmust matchrowspanautocompleteonly allowed with some input typeslistonly allowed with some input typesmaxlengthonly allowed with some input typesminlengthonly allowed with some input typespatternonly allowed with some input typesplaceholderonly allowed with some input typesreadonlyonly allowed with some input typesrequiredonly allowed with some input typessizeonly allowed with some input typesaria-valuemaxforbidden onprogresswithmaxattributearia-valuemaxredundant onprogressaria-valuemaxforbidden onmeterwithmaxattributearia-valuemaxredundant onmeteraria-valueminforbidden onmeterwithminattributearia-valueminredundant onmeteraria-valuemaxforbidden oninputwithmaxattributearia-valuemaxredundant oninputaria-valueminforbidden oninputwithminattributearia-valueminredundant oninputaria-disabled=trueshould not be used on linksaria-checkedmust not be used oninputwithtype=radioortype=checkboxaria-multiselectableshould not be used onselectaria-selectedshould not be used onoptionaria-placeholdermust not be used withplaceholderaria-readonly=truemust not be used withcontenteditable- ARIA label used on role that prohibits naming
- Focusable
role=separatormust havearia-valuenow - ARIA error
- Missing ARIA attribute
- HTML parsing error
- HTML Validation Error
- HTML validation warning
- Unrecoverable parsing error
- Invalid language attribute
- ARIA role is invalid
- Invalid
aria-controlsvalue - Autocomplete value is invalid
- Element
captionnot allowed here - Element
ddrequiresdlparent - Element
dtrequiresdlparent - Element
lirequiresolorulparent - Element
optionrequiresselectoroptgroupparent - Element
summaryrequires details` parent imginnoscriptbeforebodybodyseen whenbodyalready open