Linked Stylesheets
<HEAD>
<LINK REL="STYLESHEET" TYPE="text/css"
HREF="stylesheetname.css">
</HEAD>
The
use of the above allows for re-useable stylesheets among web
pages to give a corporate image to your site, with the least
amount of work.
The information in the file named in the HREF tag is
the same as what would be placed between <STYLE>
</STYLE> tags in the head.
Embeded Stylesheets
<HEAD>
<STYLE>
<!--
H1 {font-size:24pt; font-family:arial}
H2 {font-size:18pt; font-family:arial; font-style:italic}
P {font-size:12pt; font-family:arial}
#ID {font-color:#ffaa66; font-size:10pt}
.CLASS {font-style:italic}
-->
</STYLE>
NOTE
the use of <!-- and --> HTML comment tags.
These are used to prevent older web browsers from displaying
the information between the <STYLE> </STYLE>
tags as text on the web page.
Style
syntax;
tag {attribute:value; attribute2:value2; ....}
Inline Style
<H1
STYLE="font-size:24pt; font-family:Arial">This
is my Title</H1>
The
use of inline styles can be placed inside most tags within
an HTML document.
|