HTML Tags
Part 2
Links
<a href="URL"></a>
Creates a hyperlink to another document
<a href="mailto:EMAIL"></a>
Creates a mailto link
<a name="NAME"></a>
Creates a target location within a document
<a href="#NAME"></a>
Links to that target location from elsewhere in the document
Formatting
<p>
Creates a new paragraph
<p align=?>
Aligns a paragraph to the left, right, or center
<br>
Inserts a line break
<blockquote>
</blockquote>
Indents text from both sides
<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
<div align=?>
A generic tag used to format large blocks of HTML, also used for stylesheets
Graphical Elements
<img src="name">
Adds an image
<img src="name" align=?>
Aligns an image: left, right, center; bottom,
top, middle
<img src="name" alt="alternative text">
Specifies the text to appear in place of your inline images
<img src="name" vspace=value hspace=value>
Controls the space around a graphic image
<img src="name" vspace=value hspace=value>
Controls the size of a graphic image
<img src="name" border=?>
Sets size of border around an image
<hr>
Inserts a horizontal rule
<hr size=?>
Sets size (height) of rule
<hr width=?>
Sets width of rule, in percentage or absolute value
<hr noshade>
Creates a rule without a shadow
Back to Table of Contents
HTML Basics |
Design