Learn HTML step-by-step from A to Z or improve your professional skills.  Home HTML and CSS Tutorials HTML Basics

HTML Basics

Browse Pages: << < 1  2  3  4  5  > >>

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
Browse Pages: << < 1  2  3  4  5  > >>
Learn HTML step-by-step from A to Z or improve your professional skills. More Tutorials: Featured Materials | Fresh Materials | More HTML Tutorials at Markuptutorials.com

No comments yet...
Add comments to "HTML Basics"

Captcha