Learn HTML step-by-step from A to Z or improve your professional skills.  Home HTML and CSS Tutorials Text & Color
Your Ad Here

Text & Color


Text

You could leave text unformatted, but it looks bad. In order to use different fonts and sizes, follow the code below.

<font face="Verdana" size="1">

I recommend that you place more then one font, seperated by commas, as shown below. With this, if the viewer's computer doesn't have the font you are using, it has alternative choices. I'd always try to use common fonts that everyone should have.

<font face="Verdana, Arial" size="2">

In action....

<font face="Verdana, Arial" size="2">Text Goes here</font>

Text Goes here

Color

Most Popular Colors
Most Popular Colors.

Adding color to text and backgrounds are very simple.

<font face="Verdana, Arial" size="1" color="#990033">Text Goes here</font>

Text Goes here

Adding Color to backgrounds:

<body bgcolor="#FFFFFF">

As you can see, you place the bgcolor command in the body tag. You can use this same command in tables, which you will learn about later.



Author's URL: Depiction.net
Thank you for voting.
Rate this Materials:
Bad 
1 2 3 4 5 Excellent
print this page subscribe to newsletter subscribe to rss

HTML is Hyper Text Markup Language that is used to make hypermedia and hypertext documents for the Web. More HTML and CSS: Most Popular Materials | Fresh Materials | More HTML Tutorials at Markuptutorials.com

Add comments to "Text & Color"

Only registered users can write comment

Reader's comments