Style Sheets or Cascading Style
Sheets are the next step in enhancing the look of your webpage. But,
you must keep in mind that Style Sheets only work when the webpage
is viewed in either Netscape 4.0+ or Internet Explorer 3.0+.
Anything previous version of the above mentioned browsers and the
Style Sheet will be ignored.
Style Sheets can be defined as "a method used to enhance the
property of an HTML tag". And this is correct. What Style Sheets do
is take an HTML tag, like <B> (the BOLD tag), and place additional
style properties on it. These could include font color, font size,
text indentation, text border, padding, word or letter spacing, the
list goes on and on.
What does one
look like?
Style Sheets go between the tags of
an HTML page.
This is an example of one:
<style type="text/css">
<!--
CENTER
font-family: Courier;
font-size: 14pt;
font-weight: bold;
color: #0000A0;
-->
</style>
Now, every time you use the
<CENTER> tag, not only will the text be centered, but it will also
be in Courier font, in size 14, bold, and colored dark blue. |