The address for this web page is:   http://fishcaro.crosswinds.net/day_9_text_appearance.htm


On to the next lesson!
Back to the COURSE SYLLABUS

9. TEXT APPEARANCE


Today's lesson presents tags that affect the appearance of text.

INDEX CARD #9:

TEXT APPEARANCE—inline styles (9a)

What is meant by an "inline style" tag? This means that the tag can be applied to a string of characters without introducing line breaks (as opposed to, say, heading tags, which introduce some extra space above and below).

What are the common structural tags for controlling text appearance? (Recall the difference between structure and presentation that was discussed on Day 6!) Use the following tags whenever it is appropriate to do so:

<CITE>For citations: books, magazines, articles, etc.</CITE>
<CODE>Denotes a code sample.</CODE>
<EM>Denotes emphasized text.</EM>
<KBD>Denotes text that is typed on a keyboard.</KBD>
<SAMP>Used for sample output from computer programs.</SAMP>
<STRONG>Enclosed text is strongly emphasized.</STRONG>
<VAR>Used for variables or program arguments.</VAR>

TEXT APPEARANCE—forced presentation

It's best to use the structural tags listed on (9a) whenever possible. However, there are times when you want to force a special effect, in which case you may want to use the following:

<BIG>Sets the type one font size larger than the surrounding text.</BIG>
<BLINK>Causes the text to blink (on Netscape Navigator only).</BLINK>
<I>Enclosed text is displayed in italic.</I>
<S>Enclosed text is displayed as strike-through. (deprecated)</S>
<SMALL>Sets the type one font size smaller than the surrounding text.</SMALL>
<SUB>Enclosed text is in subscript style.</SUB>
<SUP>Enclosed text is in superscript style.</SUP>
<TT>Formats enclosed text as "typewriter type."</TT>
<U>Enclosed text is underlined. (deprecated)</U>
<MARQUEE>This only works in Internet Explorer!</MARQUEE>
<FONT>Used to affect the color, typeface, and size of the enclosed text.</FONT>
<FONT>The "font" tag will be discussed in a future lesson.</FONT>

Printable version of Index Card 9a

Printable version of Index Card 9b

WORKSHEET #9:

ASSIGNMENT #9:

On to the next lesson!
Back to the COURSE SYLLABUS
© 2000 Carol J.V. Fisher    All Rights Reserved