p { font: 12pt/10pt sans-serif; }
(). 12pt , 10pt . (sans-serif).
p { font: bold italic 110% serif; }
bold , italic . , bold italic . , (serif).
p { font: normal small-caps 12px/14px fantasy; }
small-caps font-variant ( ). normal : font-style font-weight.
3. FONT-FAMILY - , . , . , , Trebuchet MS, .
, . , . , . , serif, sans-serif, cursive,fantasy monospace. , , .
font-family: [, [,...]] | inherit
. :
serif (), Times;
sans-serif ( ), Arial;
cursive ;
fantasy ;
monospace , ( Courier).
Inherit ( )
:
html css , , .
CSS
CSS , W3C Web. 1990- Web, - , - . HTML 4.01 XHTML CSS.
1990- . HTML , CSS .
|
|
1994 . CSS.
, CSS , , .
1990- (W3C) CSS, 1996 CSS1.
1 (CSS1)
W3C, 17 1996 , 11 1999 . , :
. , , .
. , , .
. , ( )
, , .
, , , (padding) (margin) . , float clear.
2 (CSS2)
W3C, 12 1998 . CSS1 . :
. , . .
. ( , , ).
. , . . ( ).
. , , .
.
.
. , , .
W3C CSS2 CSS2.1
2, 1 (CSS2.1)
W3C, 7 2011 .
CSS2.1 CSS2. , , . CSS3.
3 (CSS3)
.
. , , , () , , .