HTML Tag |
Task |
HTML Tag |
Task |
|
Bold text |
|
Underlined text |
|
Italics |
|
** |
|
hard return (new line) |
|
gives an extra space between words |
|
double return (good for beginning new paragraphs) |
|
indents both sides of the paragraph. |
|
gives superscripted text |
|
gives subscripted text |
|
|
|
|
|
|
|
|
*NOTE: The blinking text tag only works with Netscape browsers version 2.0 and
up.
**NOTE: To the Netscape blink-o-philes, PLEASE use the blinking text
sparingly. It is really irritating to see whole paragraphs (for instance)
blinking, especially if you are trying to read the paragraph.
COLOR=#XXXXXX - changes the colour of the text. Replace XXXXXX with the appropriate colour as shown in the previous lesson.
FACE="a, b" - changes the font of text. Replace 'a' and 'b' with font names (Helvetica, Arial, Times New Roman, etc). In order for the browser to display the font you want, it must have the font in it's font file. The browser will use font 'a' if the computer has that font on file. If it can't find that font, it will use font 'b'. You can put as many font names in this command as you can think of. Make sure that the ones you do specify are fairly common though.
SIZE=Y - changes the size of the text. Replace Y with a number. The default size is 3. The larger the number, the larger the font. If you wish to change your text size in relationship to the default, you can use
SIZE=+Y or SIZE=-Z. Replace Y and Z with numbers. The first
command increases the font by Y and the second decreases
the font by Z.
<Hn> - where n is a number. The larger the number, the smaller
the title size. This tag automatically makes the text bold and
inserts an extra line above and below the title. Following are some of the header sizes:
WIDTH=X or WIDTH=Y% - dictates the length of the line. Replace X and Y with the desired numbers. You can make the line X pixels long, or Y% of the screen.
ALIGN = "..." - gives the alignment of the line. You can replace the "..." with "LEFT", "RIGHT" or "CENTER".
SIZE = M - dictates the width of the line in pixels.
NOSHADE - indicates that the line should have no colour inside.
<UL TYPE="..."> replacing the "..." with either "CIRCLE", "SQUARE" or "DISK". The default is "circle". Note to IE users, I'm not 100% sure if the specifications will work in Internet Explorer.
You can also make numbered lists with the tags <OL>...</OL>. The <OL> stands for "Ordered List" and uses numbers or letters to mark each item on your list. To indicate which you would like, use
<OL TYPE="..."> replacing the "..." with "I", "i", "A", "a", "1", etc.
Here are some examples of the different types of lists:
Bulleted List Examples | ||
<u>Types of fruit:</u>
<UL TYPE="disk"> <LI>Apples <LI>Oranges <LI>Bananas </UL> |
Types of fruit:
|
|
<b>To do for tomorrow:</b>
<UL TYPE="Square"> <LI>Make the bed <LI>Feed the dog <UL TYPE="circle"> <LI>Call "Food!" <LI>Fend off dog <LI>Get bowl and Dog Chow <LI>Fend off dog <LI>Tell dog to sit <LI>Pour food in bowl <LI>Fend off dog <LI>Put bowl on floor <LI>Pick self off floor <LI>Curse dog <UL> <LI>Record time 15 minutes</UL> </UL> <LI>Buy toilet plunger </UL> |
To do for tomorrow:
|
|
Ordered List Examples | ||
<i>How to read a book:</i>
<OL TYPE="1"> <LI>Open the front cover. <LI>Using eyes, scan page and absorb words. <LI>Turn page and repeat until end. </OL> |
How to read a book:
|
|
<b><u>Outline of essay:</u></b>
<OL TYPE="I"> <LI>Introduction <LI> Thesis <LI>Main Body <OL TYPE="a"> <LI>Argument 1 <LI>Argument 2 <LI>Argument 3 </OL> <LI>Conclusion </OL> |
Outline of essay:
|
Return to the HTML Lesson Guide
Read the next lesson: Linking Your Pages