|
Font Sizes,
and Styles are not readily available in the HTML
2.0 specifications. A Font typestyle and Font
size may make it into the HTML 3.0 specifications.
Here we identify how you can make different text
appear in different sizes.
The HTML tags
to change the size of text include:
<h1>Heading
Size 1</h1>
<h2>Heading
Size 2</h2>
<h3>Heading
Size 3</h3>
<h4>Heading
Size 4</h4>
<h5>Heading
Size 5</h5>
<h6>Heading
Size 6</h6>
The following
is the example HTML file with the heading codes
in Pink.
<html>
<head>
<title>Example of Formatting Text</title>
</head>
<body>
<h1>This
text is displayed with Heading #1</h1>
</body>
</html> |
Additionally you may specify a Font Tag which
identifies to the browser which font to use for
the text. NOTE: The font must be available
on the users computer or the default font defined
for the browser will be used. In the future,
we hope fonts will be a downloadable object that
can be embedded into the web page. Until
then, it is best to stick with the basic fonts
available.
The following
is an example of setting the font type and size
of font:
<html>
<head>
<title>Example of Formatting Text</title>
</head>
<body>
<font
face="arial" size=1>This
text is displayed with different font</font>
</body>
</html> |
Notice in the above example, the font face is
set to Arial. All Windows Computers
are shipped with the Arial Font Pre-Loaded.
It's a good bet that Arial will be available on
the users Computer. A secondary, and even
a tertiary font may also be defined in case the
primary font is N/A. Simply add the fonts
in a comma separated list as in the following
example:
<font
face="arial,helvetica,courier"
size=1>Multiple
Font Faces</font> |
In the above example, if the Arial font is not
found on the users computer, the Helvetica font
will be used. If the Helvetica font is not
found, the courier font will be used. Lastly,
if the courier font is not found, the browsers
default font will be used. There is no limit
to the number of fonts you may place, however
we recommend limiting it to two or three at the
most.
NOTE: If your
web browser does not support some of these tags,
you will not see the formatting effect. Enetrics Communications
recommends you download the Netscape
Communicator Web browser or the Microsoft
Internet Explorer Browser. Be sure your
ISP will support these Browsers.
Bold
Text
Underlined
Text
Italicized
Text
Superscript
Subscript
Strikethrough
Strong
Blink
Citations
Sample
Definition
Code
Variable
Typewriter
Text
Color
Text
Size and Fonts
|