HTML - Font Size
Set the size of your font with size. The range of accepted values goes from 1 -- the smallest, to 7 -- the largest. The default size of a font is 3.
HTML Font Size Code:
size="5">Here is a size 5 font
HTML Font Size Attribute:
HTML - Font Color
Set the color of your font with color.
HTML Font Color Code:
color="#990000">This text is hex color #990000
This text is red
HTML Font Color Attribute:
This text is red
HTML - Font Face
Choose a different font face by specifying any font you have installed. Font face is synonymous with font type. As a web designer, be aware that if you specify a custom font type and users viewing the page don't have the exact same font installed, they will not be able to see it. Instead the chosen font will default to Times New Roman. To reduce the risk of running into this situation, you may provide a list of several fonts with the face attribute, such as outlined below.
HTML Font Face Code:
face="Georgia, Arial, Garamond">This paragraph has had its font...
HTML Font Face Attribute:
In the example above, we have changed the font face (type) of a paragraph element and specified a list of similar fonts to apply to this element in the case that some of our viewers do not have these fonts installed.
HTML Font - Attribute Review
HTML Font Attributes:
Attribute= | "Value" | Description |
size= | "Num. Value 1-7" | Size of your text, with 7 being biggest |
color= | "rgb,name,or hexidecimal" | Font color |
face= | "name of font" | Font type |
Tidak ada komentar:
Posting Komentar