Sunday, September 25, 2011

Adjust Font

Tag<FONT> . . . </ FONT> useful to set the type, size, and font color.Type FontsTo determine the type font, you can use the FACE attribute. Example:<FONT FACE = "Arial"> ABCD </ FONT>In the example above ABCD posts will be displayed using the Arial font.Font SizeFont size is determined by the SIZE attribute. Example:<FONT "1"> SIZE SIZE = 1: 012345ABCD </ FONT>Used to set the text with font size by 1. Please note, normal font size is 3.Font size can also use the + or - in front of the numbers on the SIZE attribute. Example:<FONT "+1"> SIZE SIZE = +1: 012345ABCD </ FONT>Displaying text with the font size larger by 1 than the normal size.Font Color<FONT> Attribute on the tag associated with text color that is COLOR, which is useful for determining the background color of the text. As if the background color of text to be regulated, regulation needs to be done through <BODY> tag with a BGCOLOR property. Keep also in mind, the BODY tag also has an attribute called TEXT that can be used to set the text color on the whole body of the document.The values ​​given in the attribute COLOR, BGCOLOR, TEXT and it can be:1. Color name2. Value of RGB (Red-Green-Blue) which is indicated by "# RRGGBB"

Color’s name
RGB
Color’s name
RGB
Aqua
00FFFF
Navy
000080
Black
000000
Olive
808000
Blue
0000FF
Purple
800080
Fuchsia
FF00FF
Red
FF0000
Gray
808080
Siver
C0C0C0
Green
008000
Teal
008080
Lime
00FF00
Yellow
FFFF00
Maroon
800000
White
FFFFFF
 In the format "# RRGGBB", respectively RR, GG, and BB in the form of two hexadecimal digits (in the form angaka 0 to 9 or A through F). RR stated the color components red, green color component expressed GG, and BB states blue color components. Value of 00 states that the component in question does not exist. For example, # 0000FF blue states.Set the Default FontHTML provides a tag called <BASEFONT> that serves to specify the default font size for all pages. In Netscape Navigator, which dealt only SIZE attribute, while Internet Explorer to recognize the attributes of SIZE, FACE, and COLOR.

0 comments:

Post a Comment

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More