|
Open |
Close |
Function |
<HTML> |
</HTML> |
Must be present to begin and end your HTML document |
<HEAD> |
</HEAD> |
Identifies the info to be placed the head of the document |
<TITLE> |
</TITLE> |
Identifies the document's title; always inside the HEAD |
<BODY> |
</BODY> |
Must be present to begin and end the body of your document |
<H#> |
</H#> |
A Header tag which identifies the text to be big and bold; numerically descend from bigger to smaller from H1 to H6. |
<STRONG> or <b> |
</STRONG> </b> |
Makes surrounded text bold. |
<i> |
</i> |
Makes surrounded text italic. |
<u> |
</u> |
Makes surrounded text underlined. |
<P> |
</p> or omit |
Hard paragraph break, equals 2 carriage returns. |
<BR> |
omit |
Hard line break , equals 1 carriage return. |
<HR> |
(none) |
Creates a horizontal line on the page. |
<CENTER> |
</CENTER> |
Text within the tags will be centered. |
<!-- This is MY Page!!!--> |
Comment Tag |
<body bgcolor=#XXXXXX> |
Solid Color Background |
<body background="filename"> |
Texture File Background |
<body TEXT=#XXXXXX LINK=#YYYYYY VLINK=#00HH00> |
Colored Text and Hyperlinks |
<font size=X>...</font> |
Change the size of a selection of text where X=1-7. Can also use relative size changes (-1, +2, -1, -2, etc...) to current <basefont=Z> value. |
<big>...</big> <small>...</small> |
Change the size of a selection of to a size greater or smaller then the normal sized text. |
<font color=#XXXXXX>... </font> |
Change the color of a selection of text where XXXXXX is the hexadecimal code for the colors RGB values. |
<sup>...</sup> <sub>...</sub> |
Create superscripts (e.g. x3 + 2xy + y2 = 0) or subscripts (i.e. H2SO4) |
<ul> <ol> <li> <li> <li> <li> </ul> </ol> |
Item Lists |
<ul type=xxxx> |
Bullets for Unordered Lists
|
<ol type=X> |
Number Styles for Ordered Lists
|
<ol start=i> |
Number Values for Ordered Lists |
<dl> <dt> <dd> <dt> <dd> </dl> |
Definition Lists |
<a href="file.html"> hypertext</a> |
Local Hypertext Link |
<a href="data/file.html"> hypertext</a> |
Local Hypertext Link |
<a href="../file.html"> hypertext</a> |
Local Hypertext Link |
URL |
Uniform Resource Locator |
<a href="http://www..."> hypertext</a> |
Internet HyperText Link |
<a name="xyz"<...> |
Named Anchor |
<a href="file.html#xyz"> hypertext</a> |
Link to Named Anchor |
<a href="http://www.url"> <img src="file.gif" border=0></a> |
Internet HyperGraphic Link |
<a href="mailto: "schatzp@drexel.edu">...</a> |
Internet Mail Link |
<table... |
Begins the table |
..border=X... |
Within the <TABLE> tag; draws single pixel-width border. Omitting the border attribute, or setting border=0 creates an invisble table. Values for border greater than 1 will create a thicker border around the table |
...cellpadding=Y |
Draws single pixel-width cell-wall divisions; cellpadding is the amount of space (in pixels) between the cell contents and its walls. cellspacing determines the width of the inner cell walls. |
...width=x> |
Determines the width of the table; may be in actual pixels (i.e., 550) or percentage (i.e., 80%). |
<tr> |
Begins a row within a table; there may be multiple rows within a table |
<td... |
Begins a data cell within a table row; there may be multiple data cells within a table row |
...align=left|center|right... |
Within the <td> tag; defines the horizontal alignment within a Table Cell |
...valign=top|middle|bottom... |
Within the <td> tag; defines the vertical alignment within a Table Cell |
...rowspan=X... |
Within the <td> tag; creates a cell which stretches vertically across X rows |
...colspan=X... |
Within the <td> tag; creates a cell which stretches across X columns |
</td> |
Ends the data cell within the table row |
</tr> |
Ends the table row |
</table> |
Ends the table |
| Index of topics | next topic: Special Character Tags |