<B>...</B>
My preferred browser is <B>Netscape Navigator</B>.The file text.htm shows this example in action in a separate window.
<BASEFONT SIZE="number"> ... </BASEFONT>
SIZE="number"
specifies the font size from 1 (smallest) to 7 (largest). The default is 3. Navigator 1.1
<BASEFONT SIZE="4"> <I>Netscape Navigator</I> lets the user select a comfortable base font size, but this can be reset for all or part of a page. <FONT SIZE="+3">Doing so causes subsequent font size changes </FONT> <FONT SIZE="-1"> toexecute relative to the new base font size.</FONT> <BASEFONT SIZE="3">The file text.htm shows this example in action in a separate window.
<BIG>...</BIG>
<P>As Alice ate the cookies, she felt herself grow <BIG> bigger, and <BIG>bigger, and <BIG> bigger.</BIG></BIG></BIG>The file text.htm shows this example in action in a separate window.
<BLINK>...</BLINK>
<P><BLINK> Blinking text </BLINK> can be annoying, so use it sparingly.The file text.htm shows this example in action in a separate window.
Use the CITE tag to display inline citations, and use the BLOCKQUOTE tag to display block-level quotes that start on a new line.
<CITE>...</CITE>
<P>Mozilla said to the crowd, <CITE>"Visit Netscape's web site." </CITE></P>The file text.htm shows this example in action in a separate window.
For large sections of code where formatting is important, use the PRE or XMP tags to preserve the space characters and line breaks used in a program listing.
<CODE>...</CODE>
<P>The <CODE>onLoad</CODE> attribute for the BODY tag lets you define an action that occurs when the document has finished loading. For example, <CODE>onLoad="function1(); function2(); return false;"</CODE>. Notice that the <CODE>onLoad</CODE> code should always return <CODE>false</CODE>. </P>The file text.htm shows this example in action in a separate window.
Netscape Navigator displays emphasized text in italics.
<EM>...</EM>
<P>We ship your products overnight <EM>for free</EM>!</P>The file text.htm shows this example in action in a separate window.
If the BASEFONT tag has previously been used to set the base font, font size changes specified with the SIZE attribute in the FONT tag are relative to the base font. Otherwise they are relative to the default font for the browser.
<FONT COLOR="color" FACE="fontlist" POINT-SIZE="pointSize" SIZE="number" WEIGHT="boldness" > ... </FONT>
COLOR="color"defines
the desired text color. Navigator 2.0
See Color Units for information about color values.
FACE="fontlist"
specifies a comma-separated list of font faces. Navigator 3.0Navigator uses the first font in the list if it is available, otherwise it uses the second font in the list if it is available, and so on. If none of the specified fonts are available, no font face change occurs. Each entry in the font list can be a specific font name, for example "helvetica", or it can be a generic font name. The generic font names are serif, sans-serif, cursive, monospace, and fantasy.
If you want to guarantee that a specific font is available to everybody who views your document, you can attach a downloadable font to your document, as discussed in Part 3. Downloadable Fonts in Dynamic HTML in Netscape Communicator.
POINT-SIZE="pointSize"
indicates the point size of the font. The size should be specified as a positive integer. This attribute lets you set exact point sizes, whereas the SIZE attribute lets you set the font size relative to the default size. Navigator 4.0
SIZE="number"
defines the relative size of the font, in a range from 1 to 7, with a default size of 3. A value of 1 results in the smallest font, and a value of 7 results in the largest font. You can also specify the size using a plus or minus sign in front of the number to change the size with respect to the base font size.
WEIGHT="boldness"
indicates the weight, or "boldness" of the font. This attribute allows you to specify degrees of boldness. The value is from 100 to 900 inclusive (in steps of 100), where 100 indicates the least bold value, and 900 indicates the boldest value. Navigator 4.0.
<P>Here you see the effect of <FONT face="helvetica,arial,sans-serif" color=green size=+2> using the FONT tag to change the font to a green sans-serif font. </FONT> Now the font will change to a <FONT face="timesroman,serif" size=18 color=red> red font that has a size of 18 points.</font>The file text.htm shows this example in action in a separate window.
<P>Putting text in <I> italic </I> can slant its meaning.</P>The file text.htm shows this example in action in a separate window.
Netscape Navigator displays the specified text in the current fixed-width font.
<KBD>...</KBD>
<P>At the first prompt, enter the user name <KBD>trainee</KBD> and at the next prompt enter the password <KBD>goodlearner</KBD>.The file text.htm shows this example in action in a separate window.
This tag has been deprecated in favor of PRE.
<PLAINTEXT>
<PLAINTEXT> The <B>PLAINTEXT</B> tag suppresses interpretation of HTML tags that <I>follow</I> it to the end of the document.
<FONT SIZE="+1"> When Alice ate from the Caterpillar's mushroom, she grew <SMALL>smaller and <SMALL>smaller.</SMALL></SMALL></SMALL> </FONT>The file text.htm shows this example in action in a separate window.
<STRIKE>...</STRIKE>
<P><STRIKE>The judge ordered that the witness's testimony be struck from the record.</STRIKE> <P><S>Strike-through text often means text has been changed.</S>The file text.htm shows this example in action in a separate window.
<STRONG>...</STRONG>
<P><STRONG>CAUTION!</STRONG>Do not press the reset key unless you have tried every other way to reboot the computer.</P>The file text.htm shows this example in action in a separate window.
<SUB>...</SUB>
<P>The chemical notation for water is <CODE>H<SUB>2</SUB>0</CODE>.The file text.htm shows this example in action in a separate window.
<SUP>...</SUP>
<P>If Einstein was right, then <CODE>e=mc<SUP>2</SUP></CODE>.The file text.htm shows this example in action in a separate window.
<TT>...</TT>
<P>To run the program, type <TT>xyz</TT> at the command prompt.The file text.htm shows this example in action in a separate window.
<U>...</U>
<P><U>All the text in this paragraph is underlined.</U></P>The file text.htm shows this example in action in a separate window.
<VAR>...</VAR>
<P>In this example, the global variable <VAR>doc1</VAR> is bound to the current document.</P>The file text.htm shows this example in action in a separate window.
Last Updated: 01/26/98 21:33:44
Copyright © 1998 Netscape Communications Corporation