|
Specifies that the contained text is to be made a heading. The n represents a number
between 1 and 6. So to make a heading, level 1, you would use <h1>Heading
text</h1>. The different headings are shown below.
Heading
Level 1
Heading Level 2
Heading Level 3
Heading Level 4
Heading Level 5
Heading Level 6
Even though this tag creates several different sizes of text, this should only
be used for specifying headings. Do not use this instead of <font>
or <basefont>. <H> has one
attribute.
- align=
Specifies the alignment of the heading. Values are left (default), right, and center.
<h3 align=center>Center Heading</h3>
Center Heading
HTML Reference
| Tags A | Tags B | Tags
C | Tags D | Tags E-G |
| Tags H-K | Tags L-N | Tags O-R | Tags S | Tags T | Tags
U-Z |
Displays a horizontal rule. A horizontal rule is just a line across the page. Using
the attributes, you can control various aspects of the way the line looks.
Sets the color of the line. Can be in either named form or in RGB Hex form. (See my Color Tutorial for more info.)
<hr color="red">
Sets the vertical height or thickness of the line. Value is in pixels.
<hr size="10" color="00FF00">
Sets the length of the line as it goes across the screen. Values are either in a
percent or in pixels.
<hr width="50%" color="#336699">
Specifies the alignment of the line. Values are left, right,
and center (default).
<hr align="right" width="100" color="99CCFF">
Turns off the default 3-D shading of the line.
<hr size="15" noshade>
|
I.E. |
Netscape |
<hr> |
X |
X |
...color |
X |
|
...size |
X |
X |
...width |
X |
X |
...align |
X |
X |
...noshade |
X |
X |
HTML Reference
| Tags A | Tags B | Tags
C | Tags D | Tags E-G |
| Tags H-K | Tags L-N | Tags O-R | Tags S | Tags T | Tags
U-Z |
Specifies the heading section of the document. The head section contains information
about the document, unlike the <body> which contains
the document's visible contents. The head tag is not a tag that is visible in the
document, but rather contains tags relating to the document. The head tag is a required
HTML page element. The structure of an HTML document is as follows:
<html>
<head>
<title>Page's title goes here</title>
</head>
<body>
The page's body goes here.
</body>
</html>
The tags that can be placed in the <head> are <title>, <meta>, <script>, <style>,
<link>, and <base>.
The title is the only one of these tags that is a required element of an HTML document.
HTML Reference
| Tags A | Tags B | Tags
C | Tags D | Tags E-G |
| Tags H-K | Tags L-N | Tags O-R | Tags S | Tags T | Tags
U-Z |
Specifies that the current document is an HTML document. This is a required element of
an HTML document. Although some current browsers will, in fact, display the content of the
page correctly without it, current HTML specifications say that this tag is required to be
compliant. It's just good to be compliant with the W3C's
official HTML specifications. The html tag is the first tag of the document. The closing
tag is the last tag in the document. In some cases the HTML version identifier is located
before the html tag. Don't ask me to explain the HTML version identifier because I don't
understand it myself. Here is the required format of an HTML document.
<html>
<head>
<title>Page's title goes here</title>
</head>
<body>
The page's body goes here.
</body>
</html>
For more information on the other HTML page divisions, see <head>,
<title>, and <body>.
HTML Reference
| Tags A | Tags B | Tags
C | Tags D | Tags E-G |
| Tags H-K | Tags L-N | Tags O-R | Tags S | Tags T | Tags
U-Z |
A physical for displaying text italicized.
<i> I'm in italics!</i>
I'm in italics!
HTML Reference
| Tags A | Tags B | Tags
C | Tags D | Tags E-G |
| Tags H-K | Tags L-N | Tags O-R | Tags S | Tags T | Tags
U-Z |
Creates a "floating" frame in the middle of the document. Before you continue
with this tag, please refer to my Frames Tutorial for the
complete guide to standard frames.
A floating frames is basically a page that is places smack dab in the middle of the
page. The <iframe> and </iframe> tags are included in the file that is to have
the frame placed in it. So if I wanted a floating frame in this document, I would just add
the <iframe> tags to this document.
NOTE: This is an Internet Explorer specific tag. In order to display text for other
browsers, include the alternate text between the <iframe> and </iframe> tags.
You use the attributes of the <iframe> tag to describe the ffile to be placed into
the frame.
Specifies the location of the page to be placed into the frame.
<iframe src="stuff.html">Sorry but you need I.E. to see this
floating frame.</iframe>
Gives the frame a unique name. This works the same way it does for the standard frames.
<iframe src="frame.html" name="cool"></iframe>
- width=, height=, hspace=, vspace=, align=
These attributes work the exact same way as they do for the <img>
tag.
Example:
Here is my main page, index.html, loaded into a floating frame.
<iframe src="index.html" name="first"
width="550" height="400">You need I.E. to see this
frame.</iframe>
Now the following is a link that will change the contents of the previous floating
frame:
<a href="reference.html" target="first">Click to jump
to my reference.</a>
Click to jump to my reference. (DO NOT
click this link if you aren't using I.E. 3 or greater!)
Inserts an image. Sounds easy enough, but this is one of the most complicated tags.
With 16 attributes, getting the image placed just right can be no easy task. For most
uses, however, it can be easy. It all depends on what you want to do.
|
I.E. |
Netscape |
<img> |
X |
X |
...src= |
X |
X |
...align= |
X |
X |
...target= |
X |
X |
...alt= |
X |
X |
...border= |
X |
X |
...ismap= |
X |
X |
...width= |
X |
X |
...height= |
X |
X |
|
|
I.E. |
Netscape |
...hspace= |
X |
X |
...vspace= |
X |
X |
...lowsrc= |
X |
X |
...usemap= |
X |
X |
...vrml= |
X |
|
...dynsrc= |
X |
|
...controls |
X |
|
...loop= |
X |
|
...start= |
X |
|
|
HTML Reference
| Tags A | Tags B | Tags
C | Tags D | Tags E-G |
| Tags H-K | Tags L-N | Tags O-R | Tags S | Tags T | Tags
U-Z |
©1996-1999 Gilpo
All rights reserved. This document may not be altered in anyway or distributed
without the expressed written consent of Gilpo. All information contained herein
is deemed to be accurate but is not warranted.
|