I
The I element renders italic text. It is possible
to achieve a richer style through the use of Style Sheets.
It is most certainly easier; takes far less typing, (typing
the markup once as compared to adding it to each element),
and it's
much easier to read your content without the elements and
attributes cluttering things up. As an added bonus, with
CSS you can add a background color to your text that
is different from the document background color. Consider
the following examples:
<P>
<B><I>
<FONT FACE = "Arial"
SIZE = "-1"
COLOR = "#0000FF"
>
Bold, Blue, Arial Italicized
text sized to -1 smaller
than the default text.
</FONT></I></B>
|
Bold, Blue, Italic
text sized to -1 smaller than the default
text.
|
<STYLE TYPE="text/css">
P { font-family : Arial;
font-style : italic;
font-size : smaller;
font-weight : 600;
color : blue;
background : yellow;
}
</STYLE>
<P>
Bold, Blue, Arial Italicized
text sized to -1 smaller
than the default text.
|
Bold, Blue, Arial Italicized text sized to -1 smaller
than the default text.
|
<P style="font-family : Arial;
font-style : italic;
font-size : smaller;
font-weight : 600;
color : blue;
background : yellow">
Bold, Blue, Arial Italicized
text sized to -1 smaller
than the default text.
|
Bold, Blue, Arial Italicized
text sized to -1 smaller
than the default text.
|
Additional Resources:
HTML 4.01 Tags
|