<EM>
and </EM>
. To make a word or phrase
strong, use the tags <STRONG>
and
</STRONG>
. Alternatively, you may use the specific or
physical fonts bold, italic, and teletype. The tags
for bold are <B>
and </B>
; the
tags for italic are <I>
and
</I>
; and the tags for teletype are
<TT>
and </TT>
.
There are a number of special effects on offer. You can get
big text by surrounding it by the tags <BIG>
and </BIG>
. In the same manner, the tags
<SMALL>
and </SMALL>
will give you
small text. Underlining is also possible but should
be avoided as it may be difficult to distinguish between underlined text
and links. Superscripts and subscripts are used in a variety of ways.
Surround the text with the tags <SUP>
and
</SUP>
to get a superscript like this:
October 19th. The tags <SUB>
and
</SUB>
are used in subscripting: H2O.
The <FONT>
and </FONT>
tags can be
used to alter the size and/or colour of the text it surrounds. However,
this tag may be phased out of future versions of HTML.
<H1>
and </H1>
to get this
size of header.
<H2>
and </H2>
to get this
size of header.
<H3>
and </H3>
to get this
size of header.
<H4>
and </H4>
to get this
size of header.
<H5>
and </H5>
to get this
size of header.
<H6>
and </H6>
to get this
size of header.
The largest header is usually used at the top of the page with smaller
headers below as needed. The default alignment is flush left but to get
a centered header, use ALIGN="CENTER"
in the opening
header tag. Right-justification is obtained by using
ALIGN="RIGHT"
.
<BR>
(break) tag at the end of the line. The source code for
Mary had a little lamb,
Its fleece as white as snow.
is
<P> <EM>Mary had a little lamb,</EM><BR> <EM>Its fleece as white as snow.</EM> <P>To force a new paragraph (which has the effect of putting in a blank line in some browsers), use the
<P>
tag in the appropriate place.
It is possible to control the alignment of the text within a paragraph.
Flush left is the default but if centered text is required, then the tag
<P ALIGN="CENTER">
should be used before the text
block. The source code for
Mary had a little lamb,
Its fleece as white as snow.
is
<P ALIGN="CENTER"> <EM>Mary had a little lamb,</EM><BR> <EM>Its fleece as white as snow.</EM> <P>Right justification is achieved by changing
ALIGN="CENTER"
to ALIGN="RIGHT"
in the paragraph tag. The source code for
Mary had a little lamb,
Its fleece as white as snow.
is
<P ALIGN="RIGHT"> <EM>Mary had a little lamb,</EM><BR> <EM>Its fleece as white as snow.</EM> <P>
<HR>
(horizontal rule). There are assorted attributes for this tag
that allow you to change a horizontal rule's alignment, size, and shading.
By default, a horizontal rule is centered and extends all the way across
the page.