Structure Tags |
|||
Function |
Start Tag |
Attributes |
End Tag |
HTML File |
<html> |
none |
</html> |
File Header |
<head> |
none |
</head> |
File Title |
<title> |
none |
</title> |
Comments |
<!-- |
Your comments go between the start and end tags. Put a space between the -- and your comments. |
--> |
Body |
<body> |
background="filename" |
</body> |
Division |
<div> |
align="right/left/center" |
</div> |
Span (inline) |
<span> |
style="property:value;" |
</span> |
Basic Text Tags |
|||
Function |
Start Tag |
Attributes |
End Tag |
Line Break |
<br> |
clear="left/right/all" |
</br> or <br /> |
Paragraph |
<p> |
align="center/right" |
</p> |
Bold |
<b> |
none |
</b> |
Italic |
<i> |
none |
</i> |
Typewriter Text |
<tt> |
none |
</tt> |
Headline |
<h1-6> |
align="center/right" |
</h1-6> |
Font |
<font> |
face="name, name" |
</font> |
Horizontal Rule |
<hr> |
size="XX" |
</hr> or <hr /> |
Block Quote |
<blockquote> |
none |
</blockquote> |
Division |
<div> |
align="left/center/right" |
</div> |
List Tags |
|||
Function |
Start Tag |
Attributes |
End Tag |
Unordered List |
<ul> |
type="disc/circle/square" |
</ul> |
Ordered List |
<ol> |
type="I/A/1/a/i" |
</ol> |
List Item |
<li> |
type=all ul and ol options |
</li> |
Definiton List |
<dl> |
none |
</dl> |
Definition List Item |
<dt> |
none |
</dt> |
Definition List Definition |
<dd> |
none |
</dd> |
Link Tags |
|||
|
|
|
|
Function |
Start Tag |
Attributes |
End Tag |
Anchor Link |
<a> |
href="filename" |
</a> |
Anchor Mark |
<a> |
name="markname" |
</a> |
|
|
|
|
Image Tags |
|||
Function |
Start Tag |
Attributes |
End Tag |
Insert Image |
<img> |
src="filename" |
</img> |
Client-side Imagemap Tags |
|||
Function |
Start Tag |
Attributes |
End Tag |
Define Map |
<map> |
name="mapname" |
</map> |
Area Definition |
<area> |
shape="rect/circle/poly/point" |
</area> |
Table Tags |
|||
Function |
Start Tag |
Attributes |
End Tag |
Table |
<table> |
border="X" |
</table> |
Table Row |
<tr> |
align="left/center/right" |
</tr> |
Table Data |
<td> |
align="left/center/right" |
</td> |
Table Header |
<th> |
align="left/center/right" |
</th> |
Caption |
<caption> |
align="left/center/right" |
</caption> |
Frame Tags |
|||
Function |
Start Tag |
Attributes |
End Tag |
Set Frames |
<frameset> |
cols="XX/XX%/*" |
</frameset> |
Frame Definition |
<frame> |
src="filename" |
</frame> |
Base |
<base> |
target="framename"/ |
</base> |
No Frames |
<noframes> |
Between start and end tags, place the content that appears when a non-frames browser loads this page. |
</noframes> |
Form Tags |
|||
Function |
Start Tag |
Attributes |
End Tag |
Form |
<form> |
method=get/put |
</form> |
Input Field |
<input> |
name="variablename" |
</input> |
Selection List |
<select> |
name="variablename" |
</select> |
Selection Option |
<option> |
none |
</option> |
Scrolling Text Field |
<textarea> |
name="variablename" |
</textarea> |
Meta Tags |
|||
Function |
Start Tag |
Attributes |
End Tag |
<meta> |
http-equiv="refresh" |
none |
</meta> |
<meta> |
name="keywords/description/author/ |
none |
</meta> |
Style Sheet Tags |
|||
Function |
Start Tag |
Attributes |
End Tag |
Style Definition Area |
<style> |
type="text/css"> |
</style> |
Link to external CSS File |
<link> |
rel=stylesheet |
none |
Commonly-Used Special Characters |
||
Name |
Symbol |
HTML Equivalent |
ampersand |
& |
& |
cent sign |
¢ |
¢ |
copyright symbol |
© |
© or © |
degree sign |
° |
° |
greater than |
> |
> |
less than |
< |
< |
non-breaking space |
|
|
registered trademark |
® |
® |
trademark |
™ |
™ |