HTML Attributes

Computer Education, Training & Tutorial Resources - ComputerEducationWorld.com
Home » Free Computer Training and Courses » HTML For Advanced »

The text on your web page is pretty small. We are about to change that with a new tag:

<FONT> </FONT>
Inside this tag we are going to put what’s called an attribute. Attributes tell tags how or where they are to display the stuff that is between them. To change the size of text we will use the SIZE attribute inside the FONT tag  like so.

<FONT SIZE=”6″>practice</FONT>
The attribute was only required for the beginning tag. the quotation marks around the 6, very important, never forget to put them in when using attributes otherwise it may mess up your webpage. You may use any size from 1 to 7, with 1 being the smallest,and 7 the largest.Color
Another attribute that can be used with the FONT tag is COLOR:

the style of font the viewers of your web page see depends on the style fonts they have installed on their computer. If they don’t have the style you’re using for your webpage, they’ll get the default setting of their browser.

You can use any combination or all attributes in the font tag like so:

<FONT SIZE=”7″ COLOR=”red” FACE=”arial”>practice</FONT>
<FONT COLOR=”#FF0000″>practice</FONT>
“#FF0000″ is the code for red. Notice the # in front of the code, don’t forget to include it inside the quotes. You can use the name of the color instead but it’s better to use the code since some older browsers will not understand color names. Click here  for a list of color codes and their names.Style
To change the style of text add the FACE attribute to the FONT tag:

<FONT FACE=”arial”>practice</FONT>
the style of font the viewers of your web page see depends on the style fonts they have installed on their computer. If they don’t have the style you’re using for your webpage, they’ll get the default setting of their browser.You can use any combination or all attributes in the font tag like so:

<FONT SIZE=”7″ COLOR=”red” FACE=”arial”>practice</FONT>


• • •
 



captcha PHP Script Free PHP captcha script free php
Website Design by WebWalas.com