Tags - A Quick Reference Guide
Here are the tags we have learned so far...
Remember that all tags have an "end" tag unless designated below as an "empty" tag.
Creates a hyperlink to the file "file.html". The highlighted text of the hyperlink will be whatever is contained inside the "a" tag.
Creates a "bookmark" inside of your document (does not display anything on your browser window) that allows you to make hyperlinks to varioous parts of the same document by using "#bookmark" as the file name in the "a href" tag.
Text enclosed in this tag becomes bold.
The body tag is enclosed within the "html" tag and immediately follows the "head" tag. This is where all of the information for your page will go.
Text enclosed in this tag is offset with a margin on the left and right side of the browser window. It also functions like a parapgraph tag, placing a blank line before and after the text.
The break tag. Ends the current line and text begins on the next line. This tag is an "empty" tag and has no end tag.
Clears a "floating image" (one with the align="right" or align="left" attribute, so text and other info begins after the image.
The font tag. This tag allows modification of the the look and feel of the text without inserting a line break. The main attributes you can use with it are face (describes font type), size and color.
Text enclosed in this tag will make a header of size 1 (the biggest size). The header tag also functions as a paragraph tag in that it adds a blank line before and after the text.
Text enclosed in this tag will make a header of size 2.
Text enclosed in this tag will make a header of size 3.
Text enclosed in this tag will make a header of size 4.
Text enclosed in this tag will make a header of size 5.
Text enclosed in this tag will make a header of size 6 (the smallest size).
the head tag is enclosed within the "html" tag and contains all of the "behind the scenes" info on your page. This tag will come immediately before the "body" tag.
The horizontal rule. Creates a line across the browser window that can be used to seperate sections of your page.
The "html" tag should surround all other tags and info on your page.
Text enclosed in this tag becomes italicized.
Embeds the file "file.jpg" into the page. IMG is an empty tag, with no ending tag.
Defines a list element inside the UL or OL tag.
The tag to begin an ordered list (list elements are numbered).
The paragraph tag seperates sections of your page from one another. It will place a blank line before and after information contained inside it.
Preformatted text. All text inside this tag appears exactly as typed (whitespace DOES matter here).
Creates a table.
Begins a table data element (must be contained within a TR tag).
The title tag is contained inside the "head" tag. It creates a title for your page that will display on the top status line of your browser. Remember that this will not show up inside the browser window itself.
Begins a table row (must be contained within a TABLE tag).
Text enclosed in this tag becomes underlined.
The tag to begin an unordered list.
This page was last updated on
|