Like every language has its grammar and vocabulary, HTML5 also has its language and grammar. Below, you will find a list of HTML tag list that are very essential to writing an HTML code. To specify that the webpage is written in HTML5 we specify “<!Doctype html>” as the first tag in the html file. Also note that when using a tag, we specify its beginning using angular brackets, for example <head>, and mark its end as </head>.

 

HTML5 Tag List

HTML TagsDescription
html This tag defines the root of the document.
headThis tag defines the information about the document.
titleThis tag defines the title for the document.
baseThis tag sets the base URL/ target for all the URL’s in a document.
linkThis tag is used to include stylesheets into the document by specifying the “href” attribute and stylesheet as value to “rel” attribute in the tag.
metaThis tag defines the metadata for the document.
styleThis tag is used to provide style information for the document.
bodyThis tag is used to define the body of the document.
articleThis tag defines the article in the document.
sectionThis tag defines the section the document.
navThis tag defines the navigation the links in the document.
asideThis tag defines the content aside from the page content.
h1-h6These tags define the HTML headings according to difference in importance.
headerThis tag defines the header section of the document.
footerThis tag defines the footer section of the document.
addressThis tag is used to define the address or contact information.
pThis tag is defined as the paragraph tag, this is used to add paragraphs in the document.
preThis tag is used to define preformatted text in the document.
blockquoteThis tag is used to define a section which is quoted from some other source in the document.
olThis tag is used to define an ordered list in the document.
ulThis tag is used to define an unordered list in the document.
liThis tag is used to define a list item in the document under ordered list or unordered list.
dlThis tag is used to define the description list in the document.
dtThis tag is used to define a term/name in description list.
figureThis tag is used to define self-contained content in the document.
figcaptionThis tag is used define the caption to the
tag in the document.
divThis tag defines a block in the document.
mainThis tag defines the main content in the document.
hrThis tag is used bring a thematic change/break between paragraph-level elements in the document.
aAnchor tag is used to define a hyperlink in the document.
emThis tag is used to define emphasized text in the document.
strongThis tag is used to define important text in the document.
citeThis tag is used to define the title of the work in the document.
qThis tag is used to define a short quotation in the document.
dfnThis tag is used for defining the instance of a term in the document.
abbrThis tag is used to define abbreviation or an acronym of a term in the document.
timeThis tag is used to represent date/time in the document.
codeThis tag is used represent a piece of computer code in the document.
varThis tag is used to define a variable in the document.
sampThis tag is used to represent sample out of computer program in the document.
kbdThis tag is used to define a keyboard input.
markThis tag is used to represent a marked/highlighted text in the document.
rubyThis tag is used to define a ruby annotation in the document.
rpThis tag is used to define what to show when using a browser that do not support ruby annotation.
rtThis tag is used to define an explanation/pronunciation of the characters of East Asian Typography.
rtcThis tag is used to define the ruby text components in a ruby annotation in the document.
spanThis tag is used to define a section in the document.
brThis tag is used to define a line break in the document.
wbrThis tag is used to define a possible line break in the document.
smallThis tag is used to define smaller text in the document.
iThis tag is used to show the text contained within this tag in italics .
uThis tag is used to underline the text contained within this tag.
bThis tag is used to represent the text in bold .
sThis tag is used to define the text which is no longer correct.
subThis tag is used to represent a subscript text in the document.
supThis tag is used to represent a superscript text in the document.
insThis tag is used to define a text that has been inserted into a document.
delThis tag is used to define a text that has been deleted from the document.
imgThis tag is used to define/represent an image in the document.
embedThis tag is used for defining a container for external (non-HTML) applications.
objectThis tag is used for defining an embedded object.
paramThis tag is used to define a parameter for an object in the document.
videoThis tag is used to represent a video or movie in the document.
audioThis tag is used for defining sound content in the document.
sourceThis tag is used to define multiple media resources for media elements in the document.
trackThis tag is used to define text tracks for media elements in the document.
mapThis tag is used to define a client-side image-map in the document.
areaThis tag is used to define an area inside an image-map.
iframeThis tag is used to define an inline frame in the document.
tableThis tag is used to define a table in the document.
trThis tag is used to define a row in the table.
tdThis tag is used to represent a cell in the table.
thThis tag is used to define a header cell in the table head.
captionThis tag is used to define caption for a table.
tbodyThis tag is used to group the body content of the table.
theadThis tag is used to group the header content of the table.
tfootThis tag is used to group the footer content of the table.
colgroupThis tag is used to specify a group of one or more columns in a table.
colThis tag is used to specify column properties for each column within a colgroup element.
formThis tag is used for defining an HTML form for user-input in the document.
inputThis tag is used define an input control.
textareaThis tag defines a multiline input control.
selectThis tag is used to define a dropdown list in the document.
optionThis tag defines an option in the dropdown list.
optgroupThis tag is used to define a group related options in a dropdown list.
datalistThis tag is used to define a list of pre-defined options for input control.
labelThis tag is used to define a label for an input element.
fieldsetThis tag is used to represent group related elements in a form.
legendThis tag is used to define caption for fieldset element.
buttonThis tag is used define a clickable button.
outputThis tag is used to represent result of the calculation in the document.
progressThis tag is used to represent the progress of a task in the document.
meterThis tag is used define a scalar measurement within a known range.
keygenThis tag is used to define a key-pair generator field.
scriptThis tag is used to include or define client-side script.
noscriptThis tag is used to define an alternate content for users that do-not support client-side script.
templateThis tag is used to define or represent client-side markup or template in the document.
canvasThis tag is used to draw graphics on the fly using scripts.

 

Here, we have tried to capture almost all the HTML tags along with their description. We have not mentioned the one’s which are obsolete now and are not used. Every tag has its own properties and attributes along with their use in the document.

Leave a Reply

%d bloggers like this: