HTML Tags
Home Back Site Map Copyright Contact Us

 

Back


Here are some commonly use HTML tags

Beginning Tags

<html></html>

Starts and stops your HTML document

<head></head>

Information not displayed on your web page goes between these tags

<body></body>

All displayed web elements go between these tags

Header Tags 

<title></title>

Put the title of your web site between these tags

Body Attributes

<body bgcolor=?>

Sets the background color

<body text=?>

Sets the text color using name or hex value

<body link=?>

Sets the color of links, using name or hex value

<body vlink=?>

Sets the color of followed links, using name or hex value

<body alink=?>

Sets the color of links on click

Text tags

<pre></pre>

Creates pre-formatted text

<h#></h#>

Creates headline size from 1-6

<b></b>

Creates bold text

<i></i>

Creates italic text

<tt></tt>

Creates teletype, or typewriter-style text

<font size=#></font>

Sets size of font, from 1 to 7

<font color=#></font>

Sets font color, using name or hex value

Links

<a href="URL"></a>

Creates a hyperlink

<a href="mailto:EMAIL"></a>

Creates a mailto link

<a name="NAME"></a>

Creates a link to a bookmark on your page

<a href="#NAME"></a>

Creates a link to a bookmark to another page

Formatting

<p>

Creates a new paragraph

<p align=?>

Aligns a paragraph to the left, right, or center

<br>

Inserts a line break

<center></center>

Centers text, graphics, etc. on the page

Lists

<dl></dl>

Creates a definition list

<dt>

Precedes each definition term

<dd>

Precedes each definition

<ol></ol>

Creates a numbered list

<li>

Precedes each list item, and adds a number

<ul></ul>

Creates a bulleted list

<li>

Precedes each list item, and adds the bullet

Graphic Elements

<img src="name">

Adds an image

<img src="name" align=?>

Aligns an image: left, right, center; bottom, top, middle

<img src="name" border=?>

Sets size of border around an image

<hr>

Inserts a horizontal line

<hr size=?>

Sets height of a horizontal line

<hr width=?>

Sets width of a horizontal line

<hr noshade>

Creates a horizontal line without a shadow

Tables

<table></table>

Creates a table

<tr></tr>

Sets off each row in a table

<td></td>

Sets off each cell in a row

<th></th>

Sets off the table header, a normal cell with bold, centered text

<table border=#>

Sets width of border around table cells

<table cellspacing=#>

Sets amount of space between table cells

<table cellpadding=#>

Sets amount of space between a cell's border and its contents

<table width=# or %>

Sets width of table - in pixels or as a percentage of document width

<tr align=?> or <td align=?>

Sets alignment for a cell (left, center, or right)

<tr valign=?> or <td valign=?>

Sets vertical alignment for a cell (top, middle, or bottom)

<td colspan=#>

Sets number of columns a cell should span (default=1)

<td rowspan=#>

Sets number of rows a cell should span (default=1)

<td nowrap>

Will keep text from wrapping at the end of the line within the cell.

 

Copyright © 2001-2002 KD Web Design

 

 

Home ] Back ] Site Map ] Copyright ] Contact Us ]

 

This site last updated 10/13/02
Contact SKYDIVE182


FastCounter by bCentral

 

Hosted by www.Geocities.ws

1