You are on page 1of 1

HTML TAGS

HTML TAGS

<!DOCTYPE
<a></a> Defines
Defines achor
the
HTML> document type
<html></html>
<div></div> Define
DefinesDevision
an HTML
document
<br>
<head></head> Define
Headinga break
for
document STYLES
<ul></ul>
<title></title> Defines
Defines an unordered
a title for the
list
document width:___px Defined width of the table
<ol></ol>
<body></body> Defines
Defines an
theordered
list
document's body height:___px Defined height of the table
<li></li>
<h1> to <h6> Defines
Defines aHTML
list item
heading sizes margin-left:auto ; Centre align a table in a
<img src=”____” Defines margin-right:auto window
<p></p> Defines an image
a paragraph
alt=”_____”> text-align:right Right align cell contents
<audio
<b></b>controls> Defines
Defines an audio
bold text
<source src=”___” text-align:center Center align cell contents
type=”audio/mp3”>
<i></i> Defines italic text text-align:left Left align cell contents
</audio>
<video controls> Defines a video
<u></u> Defines underlined border- Create a single table
<source src=”___”
text collapse:collapse border
type=”video/mp4”>
<sup></sup>
</video> Defines superscripted border:solid___px Set table border width
Setting
<sub></sub> Defines subscripted vertical-align:top Vertically align table cell
Setting content at top
<table></table> Defines a table vertical-align:middle Vertically align table cell
content at middle
<caption></caption> Defines a table vertical-align:bottom Vertically align table cell
caption content at bottom
padding:___px Create Cell Padding
<tr></tr> Defines a row in a
table rowspan=___ Span rows
<td></td> Defines cell in a table
colspan=___ Span columns
<th></th> Defines a header cell
in a table. border-spacing:__px Create border spacing

<thead></thead> Groups the header background- Set the background colour


content in a table. color:_____
<tbody></tbody> Groups the body #FFFFFF White Colour Sample
content in a table
<tfoot></tfoot> Groups the footer #000000 Black Colour Sample
content in a table
#0000FF Blue Colour Sample

#00FF00 Green Colour Sample

#FF0000 Red Colour Sample

#00FFFF Cyan Colour Sample

#FFFF00 Yellow Colour Sample

#FF00FF Magenta Colour Sample

You might also like