You are on page 1of 2

<HTML> </HTML>

<HEAD> </HEAD>
Indicates the beginning and end of an HTML document.
Indicates the beginning and end of a section of the document used for the title and
other document header information.
Indicates the beginning and end of the title; the title does not display in the body of the
Web page, but displays on the title bar of the browser. Indicates the beginning and end
of the Web page body.
Link color, without mouse over it or before having been visited
Default color is usually blue
<TITLE> </TITLE>
<BODY> </BODY>
LINK
VLINK Visited link. Controls the color of a link that has been clicked or visited.
Default color is usually purple or green.
Active link. Controls the color of a link on which a mouse has been
pressed but not clicked. Default color usually is green or red.
ALINK
Example: <BODY LINK=color VLINK=color ALINK=color>
<HN> </HN> Indicates the beginning and end of the text section called a heading; sizes range from
<H1> through <H6>.
Indicates the beginning of a new paragraph; inserts a blank line above the new paragraph.
Indicates the beginning and end of an unordered (bulleted) list.
<P> </P>
<UL> </UL>
*TYPE Defines the type of bullet to be used (square, disc, circle)
<UL TYPE=square>
<OL> </OL>
<LI> </LI>
<HR>
<BR>
Indicates the beginning and end of an ordered list.
Indicates that the item that follows the tag is an item within a list.
Inserts a horizontal line.
Breaks a line of text at the point where the tag appears. Creates
bold text
<STRONG> </STRONG>
<BLOCKQUOTE> </BLOCKQUOTE>
<EMPHASIS> </EMPHASIS> Italicizes text
Indents margins on sections of text (used for definitions)
<U> </U> Underlines text
<A> </A> Inserts a link
HREF Defines the URL of the linked page
<A HREF=www.uen.org>Utah Education Network</A> Defines
an anchor
<A NAME=Education>Education</A>
<A HREF=#Education>Education</A> will send you down to
the section named Education within the same page
NAME
<FONT> </FONT> Sets the following font attributes for text:
COLOR
FACE
SIZE
Changes the font color
Change the font type
Changes the font size
Example: <FONT COLOR=RED FACE=IMPACT
SIZE=5> <PRE> </PRE>
<IMG SRC>
Supports preformatted material
Inserts an image
ALIGN
ALT
BORDER
HEIGHT
WIDTH
HSPACE
VSPACE
Controls alignment (BOTTOM, MIDDLE, TOP, LEFT, RIGHT)
Inserts an alt tag that will display when the mouse rests on the image
Defines the border width
Defines the height of the image
Defines the width of the image
Defines the horizontal space that separates the image from the text
Defines the vertical space that separates the image from the text
Daffodil Institute of Information Technology
Example: <IMG SRC=school.gif ALIGN=MIDDLE BORDER=0
HEIGHT=100 WIDTH=50 VSPACE=5 HSPACE=5>
*<SUB> </SUB>
*<SUP> </SUP>
<TABLE> </TABLE>
<TR> </TR>
<TH> </TH>
<TD> </TD>
Subscripts text
Superscripts text
*Optional tag
*Optional tag
Indicates the beginning and end of the table
Indicates the beginning and end of a table row
Indicates the beginning and end of a table heading cell
Indicates the beginning and end of a table data cell
**The following table tag attributes are optional:
<TABLE> </TABLE> ALIGN Controls table alignment (LEFT, CENTER, RIGHT)
<TABLE ALIGN=CENTER> centers table horizontally on the page
Sets background color for table
<TABLE BGCOLOR=BLUE> the background of the entire table will
be blue
Sets width of table border in number of pixels
<TABLE BORDER=3> table will have a border around it 3 pixels wide
Spacing between cells
<TABLE CELLSPACING=5> will put a 5 pixel space around each cell
Spacing within cells
<TABLE CELLPADDING=3> will put a 3 pixel space around all
borders inside each cell
Number of columns
Table width relative to window width
<TABLE WIDTH=75%> will produce a table 75% of the window
Horizontally aligns row (LEFT, CENTER, RIGHT, JUSTIFY) Sets
background color for row
Vertically aligns row (TOP, MIDDLE, BOTTOM) Horizontally aligns
cell (LEFT, CENTER, RIGHT, JUSTIFY) Sets background color for cell
Sets number of columns spanned by a cell
Sets number of rows spanned by a cell
Vertically aligns cell (TOP, MIDDLE, BOTTOM)
BGCOLOR
BORDER
CELLSPACING
CELLPADDING
COLS
WIDTH
<TR> </TR> ALIGN
BGCOLOR
VALIGN
ALIGN
BGCOLOR
COLSPAN
ROWSPAN
VALIGN
<TH> </TH>
<CENTER> </CENTER> Centers the enclosed text horizontally on the page.
<CITE> </CITE> Indicates that the enclosed text is a citation; text usually displays in italics
<DL> </DL> Creates a definition list
<DT> </DT> Indicates that the enclosed text is a term in a term list
<DD> </DD> Indicates that the enclosed text is a definition in a definition list
<DIV> </DIV> Defines a division/section in a document.
Daffodil Institute of Information Technology

You might also like