You are on page 1of 7

HTML

Chapter 5 Font Control and


Special Characters

Developing a Web Site 1


Objective

 You will learn to


 decide what size, color, and typeface should
be used to display any text on your Web
pages.
 create special symbols.

Developing a Web Site 2


<Font>…</FONT>

 To set the font’s properties.


 Attributes: size(1-7), color(color code or
color name), face(any typefaces
supported by your computer system)

Developing a Web Site 3


<Font>…</FONT> - continued

 Examples:
 <font size="5">How are you?</font>
 <font size=“2" color="#99FFCC">I am
fine.</font>
 <font size=“2" color=“BLUE">How about
you?</font>
 <font size=“7" color="#99FFCC“
face=“Comic Sans MS”>I am fine
too.</font>

Developing a Web Site 4


Special Characters

 You can insert special characters at any


point in an HTML document by looking
up the appropriate codes or mnemonic
name.
 Refer to the Reference of Special
Characters.

Developing a Web Site 5


Special Characters - continued

 Examples:
 <b><font size="4">Welcome to Le
Caf&#233;!!</font></b>
 This material has a copyright &copy
reserved.

Developing a Web Site 6


Summary

 You have learned how to control the


size, color, typeface and special
characters of any section of text on a
Web page.

Developing a Web Site 7

You might also like