TagAttributeValueWhat it's used for
!DOCTYPE Indicates the version and type of HTML used; includes a URL reference to a DTD
html,/html Indicates the start and end of an HTMl document
title, /title Indicates the start and end of a title. the title does not appear in the body of the webpage, but appears on the title bar of the web browser
head,/head Indcates the start and end of a section document used for the title and other document header information
body,/body Indicates the start and end of the webpage body
p,/p Indicates the start of a new paragraph; Inserts a blank line above the new paragraph
br / Inserts a line break at the point where the tag appears
hr / Inserts a horizontal rule
ul,/ul Indicates the start and end of an unordered (bulleted) list
li,/li Indicates that the item that follows the tag is an item within a list
ol,/ol Indicates an ordered or numbered list
dl,/dl Used to start and end a definition list
dt Used to identify a term
dd Used to identify the definition of the term directly above
align Controls alignment , Can be set to bottom, middle, top, left or right
alt Alternative text to display when an image is being loaded
border Defines the border width
height Defines the height of an image
hspace Defines the horizontal space that separates the image from the text
src Defines the URL of the image to be loaded
vspace Defines the vertical space that separates the image from the text
width Defines the width of an image, Improves loading time
link Normal link, Controls the color of a normal unvisited link and/or link without a mouse pointer pointing to it, Default color is usually blue
vlink Visited link, Controls the color of a link that has been clicked or visited
alink Active link, Controls the color of a link immediately after the mouse clicks the hyperlink, Dedault color is usually green or red.
color="#xxxxxx" Changes the color, value inside a quotation marks is a six digit color code or color name
face="fontname" Changes the font face or type, Value inside quotation marks is the name of a font, such as verdana or arial; text appears using the default font if the font face is not specified
size="x" Changes the font size, Value inside quotation marks is a number that represents size, values can be an actual font size of 1(smallest)to 7(largest) or a relative font size, such as+2 or -1, which specifies a number of sizes larger or smaller that the preset font size
href Specifies the URL of the linked page or file
b,/b physical style tag that displays text as bold
big,/big Increases the font size in comparison to the surrounding text
em,/em Logicalstyle tag that displays text with emphasis (usually appears as italicized)
u,/u Displays text as underlined
strong,/strong Logical style tag that displays text with strong emphasis(usually appears bold)
table,/table Indicates the start and end of a table, all other table tags are inserted within these tags
tr,/tr Indicates the start and end of a table row, Rows consist of heading or data cells
th,/th Indicates the start and end of a table heading(also called a heading cell), Tabe headings default to bold text and center and center- alignment
td,/td Indicates the start and end of a data cell in a table, Data cells default to normal text and left- alignment