![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
At this time
there are 3 styles of text supported by most WWW browsers.
When using character types always make sure you close the tags
after you have opened them.
The 3 Physical Styles are:
Example:
<html>
<head>
<title>Text Styles: Example</title>
</head>
<b>Bold faced text</b>
<BR>
<I>Italic text</i>
<BR>
<TT>Typewriter text</tt>
</body>
</html>
Some browsers are no allowing you to use the <FONT SIZE> tag. This tag allows you to set how big your font will be from 1-7. Remember that this only sets things internal to your page, so if the client sets their browser to 20 pt fonts these numbers will only make it slightly smaller or larger. You must close this tag.
You can also label text using Logical Styles.
The Logical Styles are:
Physical Styles will always look the same on any browser you use. On the other hand, Logical Styles may change from one WWW browser to another. The reason for using Physical Styles is to keep control of what your text will look like. The reason for using Logical Styles, is that consistency will be maintained between your documents and others on the server. Also, when more Physical Styles are added to HTML you may find that the Logical Styles look different than they do today.
In the next section you will be shown how to add s to your text.
![]()
The National Center for Supercomputing Applications
University of Illinois at Urbana-Champaign
[email protected]
Last modified: June 19, 1997