HTML
Some Extra Text Tags
There are a few more tags you might like to try while you are creating
your pages. The tags I will be talking about in this section are <SUB>,
<SUP>, <PRE>, <NOBR>, <WBR>, and the Netscape only <BLINK> tag.
<SUB> and <SUP> These tags are used to place a number or words slightly above
or below your normal text. The <SUB> tag works like this:
Area<SUB>1</SUB>
The result of this would be:
Area1
And the <SUP> tag allows you to use exponents if you need to:
X<SUP>2</SUP> + Y<SUP>2</SUP> = 0
And this gives you:
X2 + Y2 = 0
These two tags are most useful if you are writing mathematical equations and
such on your page, but there are other times you may wish to use them.
The <PRE> Tag The <PRE> tag is used when you want to keep the same amount of
whitespace on your web page as you have in your html code in your text editor.
This is useful when you have to post programming code. Here is an example:
<PRE>
x=1;
y=2;
if (x==1)
y=2;
</PRE>
And this somewhat redundant code gives you this:
x=1;
y=2;
if (x==1)
y=2;
Notice how we didn't need to use <BR> or inside the <PRE> tags. This
can save you some headaches from writing in line breaks and spaces manually so
often.
<NOBR> and <WBR>
Any text you place between the <NOBR> and the </NOBR> tags will not break to
the next line, even after reaching the end of someone's browser window. Here
is an example:
<NOBR>
I'll just keep writing like this for a long long long long long long long long
long long long long long long long long long long long long long long long
long long long long long long long long long long long long long long long
long long long long long long long long long long long long long long long
long long long long long long long long long long long long long long long
long long time.
</NOBR>
When viewed on your web page, this will be one really long line.:
Unless you had a monitor with some pretty high resolution, you probably had to
scroll to the right to see the end of that line. You can use the <WBR> tag
inside the NOBR tags to force a line break if you want or need to do so, like
this:
<NOBR>
I'll just keep writing like this for a long long long long long long long long
long long long long long long long long long long long long long long long
long long long long long long long long long long long long long long long
long long long long <WBR>
long long long long long long long long long long long long long long long
long long long long long long long long long long long long long time.
</NOBR>
Now you will have two lines that are not quite as long (though still pretty
long in 640x480):
The <BLINK> Tag Yes, this is the tag everyone has been complaining about. If
you are using Netscape you can see the following reason why viewers get
annoyed by this tag:
LOOK AT ME NOW!!!!!!
If you have IE, you won't see the text blink, but you can get the general
idea. Actually, if the tag is used in a better way, it can help point out
important things you want people to see. Just avoid the +10 font size....Here
is an example:
This rule is <BLINK>very</BLINK> important!
This gives you the following:
This rule is very important!
Just use your own discretion when placing blinking text on your page, and
remember it will only blink if your viewer is using Netscape (I think 2.02 or
better). Well, that does it for this section. So, on we go to: HTML Comments.
"salam pembebasan"
---------------------------------
Don't let your dream ride pass you by. Make it a reality with Yahoo! Autos.