  CSS?

     
   
/style sheet.  
    
 CSS   ,
   
  CSS  
HTML-.

 , 
  Cascading 
Style Sheets (CSS), 
  
HTML.  , 
 
 HTML  
 , , 
   
.   
 .

  CSS

,    
  :

 HTML    
:
<body bgcolor="#FF0000">

  CSS   
   
 :
body {background-color: 
#FF0000;}

 ,    
    
HTML  CSS.   
  

 CSS:

selector {propery: value;}
selector()-   
HTML-() 
  
( body)
property()- , 
,    
   
(background-color)
value()-  
 background-color 
 ,  red 
(#FF0000)

   CSS-? 
      . 


 CSS  HTML-


    
 CSS  HTML-
.   
   . 
 
  
 -   
/external  
.

 1: /In-line 
( style)

  CSS  
HTML   HTML-
 style.  
    
:

<html>
<head>
<title>Example</title>
</head>
<body style="background-
color: #FF0000;">
<p>This is a red page</p>
</body>
</html>

 2:  ( 
style)

   CSS-
 - HTML- <style>. 
:

<html>
<head>
<title>Example</title>
<style type="text/css">
body {background-color: 
#FF0000;}
</style>
</head>
<body>
<p>This is a red page</p>
</body>
</html>
 


 3:  (  
 )

  -
    
  
 .   
  
   
   .

    
    
.css.   
   
 
 .

, ,  
   
style.css     
style.

    , 
    
HTML- 
(index.html)   
 (style.css).
    
 HTML-:
<link rel="stylesheet" 
type="text/css" 
href="style/style.css"/>

 ,  
     
  href.

    
   header 
HTML,    
 <head>  </head>. 
, :

<html>
<head>
<title>My document</title>
<link rel="stylesheet" 
type="text/css" 
href="style/style.css"/>
</head>
<body>
...

   
,    
  
 HTML- 
 CSS-.
   ,  
 HTML- 
    
 .  
, 
CSS-  
   
  
HTML-.   
   
   
   HTML-
,    
.


   
    
.  , , 
    
  100 ,
    
   
   HTML-
.  CSS, 
 
    
,    
    
.

 ,   
.  
  .

C  style.css  
   
    
:

body {
background-color: #FF0000;
}

  , 
 ""  
wExplorer   
index.html (   
 
 ).  
  
    "URL 
  CSS-" 
 "style.css";

    
 index.html   
  :

<html>
<head>
<title>index.html</title>
<link rel="stylesheet" 
type="text/css" 
href="style.css"/>
</head>
<body>
<b>   
</b>
</body>
</html>

  (index.html  
style.css)    
    
.

 ""  
   
    
     
   ,
    
. !  
    
!

   
,    
   CSS.

