<Table of Contents>
Learn about GreenGeeks Secure Hosting See More Courses ... Learn HTML5 Today!
>>  -- CSS, Web Design, HTML, JQuery
- Bob's HTML Course - Take HTML5 Lessons - Twitter - Dave's Blog - Learn on your iPad
Web Hosting HTML Tutorial CSS Tutorial Web Design Tutorial Hosting under
Get a FREE phone when you purchase the LG401G / 60 Minute Card Bundle!
This course has been visited by over three million people over the past few years. It's a little bit out of date. You're free to read it, it's a classic and still very useful. But, I'd also recommend that you download "Web Design Basics" for Apple's iPad. It's a complete re-write of this course, including about five times as much info.
Check out my new free course: Designing without a Degree.
Learn to be a web designer without expensive classes!

iPage Web Hosting -- Go Green for only $4.50/mo.


HTML Code MiniChapter 8: Extended Fonts and Text Color

HTML Tutorial Chapters:  
iPage 
is Easy to Use
iPage $95 Plan on sale for $3.50/mo
Click Here for More Details!

Extended HTML Fonts...

< back to the previous chapter

Order Green Geeks Hosting
The newest version of many browsers supports extended fonts, in which you can choose to have the document fonts be other than the normal one. This is accomplished by adding the FACE="font_name" attribute to the <FONT> tag. The most commonly supported fonts are Verdana, Arial, Helvetica, Impact, Comic Sans MS, and a few others. It is not recommended to make your page font dependent, because if the font is not already installed on your visitor's computer (before they visit your site) it will not display in that font.

Example of Extended Fonts...

<font size="+2" face="Verdana">Verdana</font>
Verdana
<font size="+2" face="Arial">Arial</font>
Arial
<font size="+2" face="Helvetica">Helvetica</font>
Helvetica
<font size="+2" face="Impact">Impact</font>
Impact
<font size="+2" face="Comic Sans MS">Comic Sans MS</font>
Comic Sans MS

Note: If you don't see one or more of the above fonts, then you probably do not have that font installed or your browser probably doesn't support the extended fonts.

A word on fonts: Now that CSS (Cascading Style Sheets) is supported by almost all web browsers, you can often style a whole page with a font or style each section of a page with different fonts without using the <font> tag. CSS is definitely worth learning after you know the basics of HTML.

Learn how to use fonts with cascading style sheets.

I found an excellent site with a list of all of the fonts commonly available now (there are more than listed above.) Click here to view this site in a new window. (ampsoft.net)



Check to see if the .com or .co you want is available with this search box:

HTML Text Color...

You can change the color of the text by setting the COLOR="font_color" attribute in the <FONT> tag. The Color is usually set by using the hexadecimal system (#000000 black to #FFFFFF white) but can also be set in newer browsers by using the simple word of the color. (Red for Red, Blue for Blue, etc.)

Order Green Geeks Hosting

Example of Text Color...

<font color="Blue">Hey I'm Blue!</font>
Hey I'm blue!
<font size="+2" face="Impact" color="Green">Hey I'm green and in Impact Font!</font>
Hey I'm green and in Impact Font!
<font color="Red">Hey I'm red!</font>
Hey I'm red!

HTML Code - Try it Yourself!

In the Box below, type the following HTML code, then click "Check it Out!" The HTML document you made will be displayed in your browser. You may wish to change the words within the tags just to try it out.

Try typing this:

<html>
<head><title>Fonts and Colors Are Cool</title>
</head>
<body>

<font color="Yellow" face="Arial">Hey I'm Yellow Text... Change my color!</font><br>
<font size="+2" color="purple">Hey I'm Purple Change My Color!</font><br>
This page Copyright &copy; davesite.com.

</body>
</html>



Get the Latest Phones at TracFone Wireless! View Today's Phone Deals!
Hosting CompanySpecial FeaturesHost DetailsDisk Space/
Bandwidth
Domain PricePrice (Click for More)
iPage Expert
Web Hosting
"Best Control Panel Ever"/
Enhanced Security/100% Green
Unlimited/UnlimitedFree (ever year) $7.95/mo $4.50/mo
Globat Hosting Free Blogging Software/
Easy Control Panel Setup
Unlimited/Unlimited Free (first year) $7.95/mo $4.44/mo
GreenGeeks Hosting Enhanced Security (SSH)/
North American 24/7 Support
Unlimited/Unlimited Free (every year) $6.95/mo $4.95/mo
1&1 Hosting Enhanced Security (SSH)/
Scripting, and IMAP Secure Email
250GB/Unlimited 3 Free (every year) $9.99/mo
Read my hosting reviews.
Continue Next Chapter

Would you learn to learn how to design web sites without paying for a college degree?
Learn how to design without a degree at designingwithoutadegree.com

Copyright © Dave Kristula. All rights reserved.
URL: http://www.davesite.com/webstation/html/chap08.shtml