

     
    
 CSS.  
    
,   ,
  ,  
    
,    
  /, 
 
    
.   
 CSS-:

font-family
font-style
font-variant
font-weight
font-size
font

  [font-
family]

 font-family
  
 , 
  
  
 
.   
     
/,   
  , 
   
.

   
   : 
 /family-name
 /
/generic family. 
   
 .

Family-name
 family-name ( 
  "") 
, , "Arial", 
"Times New Roman"
 "Tahoma".

Generic family
     
 family-names, 
   
.  - sans-serif,
   
"/feet".

    
  , 
,   
 , 
  
. 
    
  .  
,  , 
 
   
,  
  
 
 .

   
 :

h1 {font-family: arial, 
verdana, sans-serif;}
h2 {font-family: "Times New 
Roman", serif;}

 <h1>  
  
"Arial".    
,  
 "Verdana".
   
,   
   
  sans-serif.

 ,   
 "Times New Roman"
 ,  
   . 


  [font-style]

 font-style
 normal, italic  
oblique.    
 <h2>
   italic
.

h1 {font-family: arial, 
verdana, sans-serif;}
h2 {font-family: "Times New 
Roman", serif; font-style: 
italic;}

  [font-
variant]

 font-variant
   
  normal  
small-caps.
 small-caps
   
 (upper case)  
  .
?  
:

ABCABC

 font-variant  
 small-caps,  
 small-caps
, ,  
,
   
 .

h1 {font-variant: small-caps;}
h2 {font-variant: normal;}
 


  [font-weight]

 font-weight
,  
,  "", 
  
.   
normal  bold.  
   
  100-900 ( 
)  
 .

p {font-family: arial, verdana, 
sans-serif;}
td {font-family: arial, verdana, 
sans-serif; font-weight: bold;}

  [font-size]

  
  
font-size.

  
  
(,   
)   
 .   

   
   
  . 
 :

h1 {font-size: 30px;}
h2 {font-size: 12pt;}
h3 {font-size: 120%;}
p {font-size: 1em;}

    
  
: 'px'  'pt'  
  
 ,
 '%'  'em'- . 
   
   , 
  .
    
  ,  
  
 , 
  '%'  'em'.
    
   
  , 
    
 .


  [font]

  
 font,   
    
  .

,   
   
  <p>:

p {
font-style: italic;
font-weight: bold;
font-size: 30px;
font-family: arial, sans-serif;
}

  
,   :

p {
font: italic bold 30px arial, 
sans-serif;
}

  font :

font-style | font-variant | font-
weight | font-size | font-family
 
