What Is a Tag? * A tag is a method of formatting HTML documents.
* With tags you can create italic or bold characters, make things blink, and can control the color and size of the lettering.
* Tags can be "nested". This means that you can make something bold and italic and green and blinking by simply surrounding the previous tag with the next.
* Tags can be used to insert pictures and graphics.
* Tags can be used to create bulleted lists like this one, or numbered lists.
* Tags look something like this:
chosen text .
* All tags use the < and > (less-than and greater-than symbols) to signal the browser. These are located above the comma and period keys.
* Within a tag, capitalization doesn't matter. FONT is the same as font or Font . I usually don't bother capitalizing when I use tags. Below, I have used capital letters when I felt that the number "1" and the letter "l" might be confused.
* It is essential to always close the tags! If not, the formatting will contaminate everything that follows it. But don't panic, closing tags is very easy, and even the most experienced surfers sometimes forget.
ItalicsTo make italics surround the chosen text with these tags:
chosen text The "/i" tag is essential; this will close the tag and stop the italics. If this is not done, all the text which follows the first, i , tag will appear italicized.
Bold LetteringTo make letters bold surround the chosen text with these tags:
chosen text The "/b" tag is essential; this will close the tag and stop the bold lettering. If this is not done, all the text which follows the first, b , tag will appear in bold.
Changing Font SizeThere are three different ways to change the size of the font. Method 1, Method 2, and Method 3.
Also see below on how to change both the size and the color of the font at the same time.
1. The first method is to use the "big" and "small" tags.
For example, to increase the font by one degree surround the text with the following tags:
chosen text If you want to make it even bigger, you surround it again:
chosen text To make the font small, surround it with the small tag:
chosen text If you want to make it even smaller, surround it with the tag again:
chosen text The "/big" and "/small" tags are essential; they will close the tag and stop the special formatting. If this is not done, all the text which follows the first,
or , tag will appear in the altered size.
2. The second method is to directly change the font size.
You can use + and - along with a number to shrink and grow the font:
chosen text
chosen text .........(same as )
chosen text .........(plain text)
chosen text .........(same as )
chosen text
Notice that when you get to larger fonts they tend to appear bold.
The " /font " tag is essential; it will close the tag and define the end of the specialized formatting. If this is not done, all the text which follows the first, font size= , tag will appear in the altered size.
3. The third method is to use what are called headers.
Headers are abbreviated with the letter "h" and a number from 1 to 6. For example:
chosen text
Along with the tag, I will demonstrate the result for each:
chosen text
chosen text
chosen text
chosen text
chosen text
chosen text
Notice that the header method also utilizes a bold font.
The "/h# " tag is essential; it will close the tag and define the end of the specialized formatting. If this is not done, all the text which follows the first, , tag will appear in the altered size.
Blinking Text
To make text blink surround the chosen text with these tags:
Note: This will not show up if you are using Microsoft Explorer (Blame it on Bill Gates!).
The "/blink" tag is essential; this will close the tag and signal the end of the special formatting. If this is not done, all the text which follows the first,
No comments:
Post a Comment