HTML Tags
Every valid HTML tag, what they’re used for, and how they can be used..
aabbraddressareaarticleasideaudiobbasebdibdoblockquotebodybrbuttoncanvascaptioncitecodecolcolgroupdatadatalistdddeldfndivdldtemembedfieldsetfigcaptionfigurefooterformh1 - h6headheaderhrhtmliiframeimginputinskbdkeygenlabellegendlilinkmainmapmarkmetameternavnoscriptobjectoloptgroupoptionoutputpparampreprogressqrbrprtrtcrubyssampscriptsectionselectsmallsourcespanstrongstylesubsuptabletbodytdtemplatetextareatfootththeadtimetitletrtrackuulvarvideowbr
By Category
The Root Element
Metadata
Sections
Grouping
Text
aemstrongciteqdfnabbrdatatimecodevarsampkbdmarkrubyrbrtrprtcbdibdospanbrwbrsmallibussubsup
Edits
Embedded Content
Tables
Forms
forminputtextareaselectoptionoptgroupdatalistlabelfieldsetlegendbuttonoutputprogressmeterkeygen
Scripting
Usage
HTML tags mark the beginning and end of HTML elements and may contain attributes. They are used as follows:
<tagname>Element content</tagname> <tagname attributename="attributevalue">Element content</tagname> <!-- or, for the few attributes without values, simply: --> <tagname attributename>Element content</tagname> <!-- or, for the few elements without content, simply: --> <tagname> <tagname attributename="attributevalue"> Global attributes can be used with every tag, alongside the specific attributes listed in each page.
