So, You Want Text Commands, Huh?
Use these to jump around or read it all...
[ACRONYM]
[ADDRESS]
[B]
[BASEFONT]
[BDO]
[BIG]
[BLINK]
[BLOCKQUOTE]
[CITE]
[CODE]
[COMMENT]
[DEL]
[DFN]
[DIV]
[EM]
[FONT COLOR]
[FONT FACE]
[FONTSIZE]>
[H#]
[I]
[INS]
[KBD]
[LISTING]
[MULTICOL] [NOBR]
[PLAINTEXT]
[PRE]
[Q]
[S]
[SAMP]
[SPAN]
[STRONG]
[SUB]
[SUP]
[TT]
[U]
[VAR]
[WBR]
[XMP]
I get letters from new users all the time asking if there are any other commands for manipulating text other than <B> and <I>. I usually tell them "no" and go on.
I'm kidding, of course. These 40 commands have been listed in the Goodies HTML Referencesince it was posted, but they're way at the end, and tough to find. So, in my continuing effort to continue writing introductory material, I thought I'd throw this little deal together. I've made links to as many other pages as cover these commands in greater detail.
This is a new command in HTML 4.0. Your browser may not support it yet. | |
<ACRONYM>The Altered Text</ACRONYM> | The Altered Text |
This is a new command in HTML 4.0. Your browser may not support it yet. | |
<ADDRESS>The Altered Text</ADDRESS> | The Altered Text |
<B>The Altered Text</B> | The Altered Text |
<BASEFONT COLOR="red">The Altered Text</BASEFONT> | |
This works like the more popular font commands, except the basefont command also accepts Style Sheet commands. | |
<BDO DIR="rtl">The Altered Text</BDO> | The Altered Text |
This is a new command in HTML 4.0. Your browser may not support it yet. The BDO command is used to denote direction. See the DIR command above? RTL means right to left. LTR means the opposite. | |
<BIG>The Altered Text</BIG> | The Altered Text |
This command is only supported by Netscape. Hopefully they'll drop it soon too. |
The Altered Text
Actually, this command surrounds text and indents it as a whole. |
Actually - nothing appears on the page. You see, this is a comment. You'll find surrounding text with the <!-- and --> commands will get the same effect, text in the code that doesn't show up on the page. |
This is a new command in HTML 4.0. Your browser may not support it yet. It stands for "DELeted" text. You should get a strike-through effect. |
"DFN" stands for "definition". |
DIV stands for division. This sets apart a section of the page so that it can be altered, usually with Style Sheet commands. You should also take a look at the Class and ID tutorial as well as the Layering tutorials for more exciting exploits of the DIV command. |
"EM" stands for "Emphasis". |
For more, see the Text Tutorial. |
For more, see Primer Number 3. Hey! That rhymes! |
For more, see the Text Font Tutorial. That doesn't rhyme. |
The Altered Text
There are six levels of this command. H4 is above. For more - see Primer Number 3 |
This is a new command in HTML 4.0. Your browser may not support it yet. It means Inserted text. You should get an underline effect with it. |
I wouldn't slap this on a brain cell just yet. When HTML 4.0 becomes standard, this will be a dead command. Use <PRE> instead. |
This sets text apart in multiple columns in Netscape only. |
"NOBR" stands for "No Break". When you surround text with this command, it does not wrap at the end of the line but rather just just keeps rolling right off the right side of the screen. |
No need to know this one cold either. When HTML 4.0 becomes standard, this will be a dead command. Use <PRE> instead. | The Altered Text
The Altered Text
|
"S" stands for "Strike-through". |
"SAMP" stands for "Sample". |
This renders text one size smaller. |
the SPAN command works a lot like the DIV command. You can set all sorts of parameters when you use it. For instance - if you are using a version 4.0 browser, lay your mouse pointer on the altered text example above for a second. For more - see the HTML 4.0 tutorial. |
"TT" stands for "Typewriter Text" |
"VAR" stands for "Variable". Text is a small fixed-width font. |
Placing the WBR command allows No-Break text to wrap at that point if it needs to. |
This is also a dead command when HTML 4.0 comes to pass. |
Enjoy!
[ACRONYM]
[ADDRESS]
[B]
[BASEFONT]
[BDO]
[BIG]
[BLINK]
[BLOCKQUOTE]
[CITE]
[CODE]
[COMMENT]
[DEL]
[DFN]
[DIV]
[EM]
[FONT COLOR]
[FONT FACE]
[FONTSIZE]
[H#]
[I]
[INS]
[KBD]
[LISTING]
[MULTICOL]
[NOBR]
[PLAINTEXT]
[PRE]
[Q]
[S]
[SAMP]
[SPAN]
[STRONG]
[SUB]
[SUP]
[TT]
[U]
[VAR]
[WBR]
[XMP]