this attribute is utilized to alter the font


This attribute is utilized to alter the font style. Its value must be given as the name of the wanted font. But the font name mention should be present in the system; or else the default-name is utilized through the browser. The font will only display if the user contain that font installed on the computer. Arial & Comic Sans MS are extensively distributed with Microsoft Windows. So if you are using Microsoft supplied operating system, these are likely to be obtainable on your computer. In Figure, you see an instance of the Arial font being used.

b. SIZE: Font can be displayed in any sizes among these 7 sizes:

 

Tiny

Small

Regular

Extra

Medium

Large

Real Big

Largest

1

2

3

4

5

6

7

c. COLOUR:  Along with this attribute you can alter the desired font color. The values can be denoted either using the hexadecimal format as already defined, for example #RGB, or by the name of the color. The hex code of the color has been described earlier in this unit. As illustrated in Figure, the value of the color attribute in the third line has been denoted as "Blue". Thus the text present in the code among the <FONT> and </FONT> tags seem in blue. By default the color of the text is black. If we denote the text color in the <FONT> tag then this value overrides the color value, if any, denoted in the <BODY> tag.

Request for Solution File

Ask an Expert for Answer!!
PHP Web Programming: this attribute is utilized to alter the font
Reference No:- TGS0266871

Expected delivery within 24 Hours