Table of Contents
<HTML> <HEAD> <TITLE> XXXXXXXXX </TITLE> </HEAD> <BODY> XXXXXXXX XXXXXXXX XXXXXXXX </BODY> </HTML>
B - 1 Text Formatting
B - bold tag
Purpose: To make text bold.
Example:
Here are some <B> bold words.</b>
Here are some bold words.
BASEFONT with SIZE tag
Purpose: Sets default font attributes.
Example 1:
<BASEFONT SIZE=7>Here is the text.
Example 2:
<BASEFONT SIZE=1>Here is the text.
BIG tag
Purpose: Increases the text size by 1.
Example 1:
The house was <BIG>larger</BIG> than the car.
The ball is <BIG>gone <BIG>gone <BIG> gone.
BLINK tag
Purpose: Tells browser to blink specified text.
Note: Does NOT work with Internet Explorer.
Example:
When the light is red, you should <BLINK>STOP</BLINK>.
<!-- This is a comment -->
EM tag
Purpose: Browser will emphasize text. Usually in italics.
Example:
She uses a <EM>Netscape</EM> browser.
FONT tag
Purpose: Sets font attributes - SIZE, COLOR, FACE
SIZE Examples:
<font size=7>This is font size 7 <font size=6>This is font size 6 <font size=5>This is font size 5 <font size=4>This is font size 4 <font size=3>This is font size 3 <font size=2>This is font size 2 <font size=1>This is font size 1
Example - changing size with + or -
<font size=7>This is seven <font size=-4>This is 7 - 4 = size 3 <font size=+2>This is 3 + 2 = size 5
Example - FONT COLOR
Note: Some browsers will NOT accept the COLOR attribute.
Internet Explorer 3.0 or greater recognizes the following named colors:
<FONT COLOR="color name" OR "hexadecimal value">
FONT FACE Examples:
<FONT FACE="ARIAL">
FONT SIZE, COLOR, FACE example:
<FONT SIZE="4" COLOR="RED" FACE="PLAYBILL">
Before font set, < FONT SIZE="7" COLOR="RED" FACE="PLAYBILL"> after the font is changed. </FONT> and now the font is back to what it was before the change.
<H1> ..... </H1> <H2> ..... </H2> <H3> ..... </H3> <H4> ..... </H4> <H5> ..... </H5> <H6> ..... </H6>
Regular type, <I>italic type </I>regular type
Follow the steps outlined in the <KBD>manual of operations </KBD> before using.
<PRE>Now is the time for all good men to come to the aid of their country.</PRE>
Now is the time for all good men to come to the aid of their country.
Mr. Jones likes to <STRIKE>swim</STRIKE> during the summer.
The screen printed <SAMP> ERROR, can not read file.</SAMP>
<FONT SIZE=7>The <SMALL> line <SMALL> is getting <SMALL> smaller, but </SMALL> now </SMALL> is getting </SMALL> bigger.
Here are some <STRONG>bold words.</STRONG>
Here are some bold words.
X <SUB> (a-3)</SUB> + Y <SUB>(b+2)</SUB>= Z
X <SUP> (a-3)</SUP> + Y <SUP>(b+2)</SUP>= Z
<TT>Here is fixed width text</TT>
Here is how you <U>underline</u> a word.
The term <VAR> browser </VAR> was used incorrectly.
& # 1 6 9 ; = & c o p y ; = copyright sign
& # 6 0 ; = & l t ; = < & # 6 2 ; = & g t ; = > & # 1 6 0 ; = & n b s p ; = Non-breaking space & # 1 7 4 ; = & r e g ; = ® & # 1 7 6 ; = & d e g ; = ° & # 1 7 7 ; = & p l u s m n ; = ± & # 1 8 0 ; = & a c u t e ; = ´ & # 1 8 9 ; = & f r a c 1 2 ; = ½ & # 1 9 4 ; = & c i r ; = ○ & # 2 0 3 ; = & E u m l ; = ë
<ADDRESS> Webmaster is Sue Brown . . . < /ADDRESS>
<AU>Authors: Smith, J., Jones, R., Johnson, T.</AU>
<blockquote>Now is the time for all good men to come to the aid of their country. Now is the time for all good men to come to the aid of their country. </blockquote>
Now is the time for all good men to come to the aid of their country. Now is the time for all good men to come to the aid of their country.
Use <BR> to end a line and go to the next line. Here is an example:<BR> The quick <BR>brown<BR> fox<BR> jumps over <BR> the lazy dog.<BR>
<center> This is centered </center>
Example 2:
<h2 align=center> This is centered
<CITE> JAVA Programming for Dummies </CITE> by <AU>Barbara Williams </AU> was published in 1997.
A simple line <HR> A simple line with noshading <HT NOSHADE> A wider line <HR SIZE=10> A wider line with no shade <HR SIZE=10 NOSHADE> A short line <HR SIZE=10 WIDTH=100 NOSHADE> A short line justified left <HR SIZE=10 WIDTH=100 ALIGN=LEFT NOSHADE> A line with color <HR SIZE=10 WIDTH=100 ALIGN=CENTER COLOR=RED NOSHADE>
Use <P> to end a line and skip a line before starting the next line. Here is an example:<P> The quick <P>brown<P> fox<P> jumps over <P> the lazy dog.<P>
to end a line and skip a line before starting the next line. Here is an example:
The quick
brown
fox
jumps over
the lazy dog.
<MENU> <li>Sue <li>Bob <li>Pam <li>Tom </MENU>
<uL> <li>Item 1 <li>Item 2 <li>Item 2 </ul>
<oL> <li>Item 1 <li>Item 2 <li>Item 2 </ol>
Ordered list using "type=1"
<oL type=I> <li>Item 1 <li>Item 2 <li>Item 2 </ol>
<oL type=i> <li>Item 1 <li>Item 2 <li>Item 2 </ol>
Ordered list using "type=A
<oL type=A> <li>Item 1 <li>Item 2 <li>Item 2 </ol>
Ordered list using "type=a"
<oL type=a> <li>Item 1 <li>Item 2 <li>Item 2 </ol>
Ordered list using "nested" types
<OL TYPE=I> <LI>Main issue <OL TYPE=A> <LI>Sub-issue <OL TYPE=1> <li>Sub-sub-issue <OL TYPE=i> <LI>Sub-sub-sub-issue <LI>Sub-sub-sub-issue </OL> <LI>Sub-sub-issue <OL TYPE=i> <LI>Sub-sub-sub-issue <LI>Sub-sub-sub-issue </OL> </OL> <LI>Sub-issue <OL TYPE=1> <li>Sub-sub-issue <OL TYPE=i> <LI>Sub-sub-sub-issue <LI>Sub-sub-sub-issue </OL> <LI>Sub-sub-issue <OL TYPE=i> <LI>Sub-sub-sub-issue <LI>Sub-sub-sub-issue </OL> </OL> </OL> <LI>Main Issue <OL TYPE=A> <LI>Sub-issue <OL TYPE=1> <li>Sub-sub-issue <OL TYPE=i> <LI>Sub-sub-sub-issue <LI>Sub-sub-sub-issue </OL> <LI>Sub-sub-issue <OL TYPE=i> <LI>Sub-sub-sub-issue <LI>Sub-sub-sub-issue </OL> </OL> <LI>Sub-issue <OL TYPE=1> <li>Sub-sub-issue <OL TYPE=i> <LI>Sub-sub-sub-issue <LI>Sub-sub-sub-issue </OL> <LI>Sub-sub-issue <OL TYPE=i> <LI>Sub-sub-sub-issue <LI>Sub-sub-sub-issue </OL> </OL> </OL> </ol>
<DL> <DT> This is a "data term" <DD> This is a "data description" <DT> HTML <DD> HyperText Markup Language <DT> Term <DD> Description of term </DL>
A "hyperlink" is a command which tells the computer to "branch" or "go to" another part of the current page, another page on the current "host server computer," or a page on some remote computer.
Hyperlinks begin with the "A" or "anchor" command followed by a space and the letters "HREF." Then the link is defined. Note that hyperlinks end with the "/A" command.
NAME & HREF tags
Purpose: Defines point you are linking from and place
you are linking to on a page.
Example:
<A NAME="top">This is the top of a page</a> or <A NAME="top"></a> Then, at the point where you want to do the link to, type the "HREF" tag: <A HREF="#top">Go to top of page."</a>