The Wayback Machine - https://web.archive.org/web/20090208040800/http://www.webreference.com:80/html/tutorial23/3.html


spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / html / tutorials / 23 / 3

index1234

Tutorial 23: The Font of Foulness, Part II: Many Faces, Many Colors

Developer News
Open Source ECM Growing Up
Android's Second Act, G2 Rumors Heat Up
Eclipse Rolls Out PHP Development Tools 2.0

The FACE attribute

The last use of the FONT element is to change the font face. The first thing that this illustrates is that publishing terminology is in dire need of standardization since "font face" in this case means the same thing as "font family" in CSS-speak. The fact that most people simply use the word "font" when referring to the same thing makes things even more complicated.

The FACE attribute to the FONT element has the same syntax as the font-family property in CSS, and the same function: It picks a the first available font family out of a list. Replacing it with CSS is a simple enough task. Take the following example, for instance:

<P><FONT 
          FACE="Verdana, Arial, Helvetica, sans-serif">This 
should be a nice sans-serif font.</FONT></P>

<P 
STYLE="font-family: Verdana, Arial, Helvetica, sans-serif">This
should also be a nice sans-serif font.</P>

This should be a nice sans-serif font.

This should also be a nice sans-serif font.

If you don't remember the font-family property, you can refresh your memory by taking another peek at the relevant section in Tutorial 7.

index1234

http://www.internet.com/

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

Copyright 2008 Jupitermedia Corporation All Rights Reserved.

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

webref The latest from WebReference.com Browse >
Building a Client-Side Ajax Cache · Using Dojo for Client-Side Validation · Apache Basics, Visited
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Research Points to Slow Rate of SSD Transition · Box.Net Unwraps Social Network Features · How-To Guide: E-Commerce Marketing on Facebook

Legal Notices.

URL: http://www.webreference.com/html/tutorial23/3.html

Produced by Stephanos Piperoglou
Created: June 29, 2000
Revised: June 29, 2000

Morty Proxy This is a proxified and sanitized view of the page, visit original site.