HOME > Fonts

WEB DESIGN: BASICS

FONTS

Fonts can be changed on a web page using the <FONT></FONT> tag. Using the <FONT></FONT> tag alone will not change anything; it requires at least one attribute.

Here are some of the commonly used font attributes:

EXAMPLE 1

<HTML>

<HEAD>

           <TITLE>The Eiffel Tower</TITLE>

</HEAD>

<BODY>

<FONT FACE="arial, sans-serif" SIZE="3">

<P><FONT COLOR="blue" SIZE="4">The Eiffel Tower</FONT> is located on the Left Bank (that is, the southern bank) of the Seine river, at the northwestern extreme of the Parc du Champ de Mars, a park in front of the École Militaire that used to be a military parade ground (whence the name), in the southwestern portion of the city. The four pillars supporting the tower are aligned to the points of the compass, and the base covers almost exactly the area of two (American) football fields placed side by side lengthwise.</P>

<P>The nearest Métro stations are <FONT SIZE="4">Bir-Hakeim</FONT> to the southwest, and <FONT SIZE="4">Trocadéro</FONT> to the northwest. The former is at the same level as the tower and somewhat closer, but less scenic; the latter is on the side of the Parvis (Plaza) du Trocadéro opposite the tower, so if you get off at that station, you can take a very scenic walk through the Trocadéro and down across the Seine to the tower, with many good photograph opportunities. One of my pictures of the tower was taken from this location.</P>

<P>The area of the tower is in the <FONT FACE="courier" COLOR="purple">chic</FONT> seventh <FONT FACE="courier" COLOR="green">arrondissement</FONT> of Paris, also the home of the National Assembly, the Prime Minister’s palace, and the Hôtel des Invalides. This district is roughly at the eight-o’clock position on a map of Paris, and somewhat more centered than the adjacent Fifteenth.</P>

</FONT>

</BODY>

</HTML>


If you plan on using only one main font face throughout the page, then use the <BASEFONT> tag (no close tag) at the beginning of the page.

EXAMPLE 2

<HTML>

<HEAD>

           <TITLE>The Eiffel Tower</TITLE>

</HEAD>

<BODY>

<BASEFONT FACE="arial, sans-serif" SIZE="3">

<P><FONT COLOR="blue" SIZE="4">The Eiffel Tower</FONT> is located on the Left Bank (that is, the southern bank) of the Seine river, at the northwestern extreme of the Parc du Champ de Mars, a park in front of the École Militaire that used to be a military parade ground (whence the name), in the southwestern portion of the city. The four pillars supporting the tower are aligned to the points of the compass, and the base covers almost exactly the area of two (American) football fields placed side by side lengthwise.</P>

<P>The nearest Métro stations are <FONT SIZE="4">Bir-Hakeim</FONT> to the southwest, and <FONT SIZE="4">Trocadéro</FONT> to the northwest. The former is at the same level as the tower and somewhat closer, but less scenic; the latter is on the side of the Parvis (Plaza) du Trocadéro opposite the tower, so if you get off at that station, you can take a very scenic walk through the Trocadéro and down across the Seine to the tower, with many good photograph opportunities. One of my pictures of the tower was taken from this location.</P>

<P>The area of the tower is in the <FONT FACE="courier" COLOR="purple">chic</FONT> seventh <FONT FACE="courier" COLOR="green">arrondissement</FONT> of Paris, also the home of the National Assembly, the Prime Minister’s palace, and the Hôtel des Invalides. This district is roughly at the eight-o’clock position on a map of Paris, and somewhat more centered than the adjacent Fifteenth.</P>

</BODY>

</HTML>

 


WEB DESIGN: Basics • Last Modified: 5/1/02