Network Sites: Marketing News | Search Engine Optimization | Free Javascript | HTML Codes | Web Page Design | Internet Dictionary |
HTML CodesHTML Codes > Fonts
Break the
<FONT ...>
Fonts: We hover over them, worry about them, set and reset them. They define the look and feel of our documents and we give them due attention.
So when Netscape introduced the
Now we've found out what a mess we've gotten ourselves into.
It turns out that
It's time to break out of this habit. This tutorial will show you how to use styles to create all the font effects you ever wanted, with less work and less code. Yes, styles are a little harder to learn than HTML, but not much, and the learning you put in at the beginning will save you hours of frustration down the road. Style will let you stop wasting time with heaps of code and get back to creating a great web site.
But
It is at first. Unfortunately,
<FONT ...>
<FONT ...>
<FONT ...>
<P> The <FONT FACE="Arial, Helvetica, Geneva" SIZE="+1"><A HREF="library.html">library</A></FONT> has an arrangement with the <FONT FACE="Arial, Helvetica, Geneva" SIZE="+1"><A HREF="cafeteria.html">cafeteria</A></FONT> to provide refreshments during the weekly <FONT FACE="Arial, Helvetica, Geneva" SIZE="+1"><A HREF="coffeehouse.html">coffee house</A></FONT> lectures. </P> which gives us The library has an arrangement with the cafeteria to provide refreshments during the weekly coffee house lectures. Notice that we had to use the same code for each font effect. If you wanted to try a different effect you'd have to go through and change every
<FONT ...>
Now let's consider the styles way of doing font effects. (We'll walk you through the details starting on the
next page
, for now this is just an overview.) First we create a styles rule with code like this (in a
.resources A { font-family:sans-serif; font-size:120%; }
This rule creates a
class
called
<PCLASS="resources"> The <A HREF="library.html">library</A> has an arrangement with the <A HREF="cafeteria.html">cafeteria</A> to provide refreshments during the <A HREF="coffeehouse.html">coffee house</A> lectures. </P> which gives us The library has an arrangement with the cafeteria to provide refreshments during the coffee house lectures. notice that we don't have to do anything special to the
<A ...>
That's just the tip of the iceberg, but it gives you and idea of how much simpler styles are than the
|
Recommended: Link Popularity Software : WebPosition Gold : Google Cash : Arelis : Optilink : Search Engine Optimization Software : Search Engine Submission Software : Mike's Marketing Tools : Mike's Ecommerce Software : Search Engine Rankings : Link Popularity Checker : Cheap Domain Registration : Keywords |
Copyright © 2002-6 Art Dacor USA LLC. All Rights Reserved.
3727 West Magnolia Blvd #489, Burbank, CA, 91505, USA. www.HTML-HTML.com |