.


:




:

































 

 

 

 


( )

12-13

(CSS)

CSS HTML-

: Web-.

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

CSS:

  • ;
  • ;
  • (, , ..);
  • .

CSS HTML-:

1. In-line ( style)

CSS HTML HTML- style. .

<html> <head> <title> CSS</title> </head> <body style="background-color: #FF0000;"> <p> </p> </body>

</html>

 

( style)

CSS- - HTML- <style>. ,

<html> <head> <title> CSS </title> <style type="text/css"> body {background-color: #FF0000;} </style> </head> <body> <p> </p> </body>

</html>

 

( )

- . .

.css. web- , .

, style.css style. :

HTML- (default.htm) (style.css). HTML-:

<link rel="stylesheet" type="text/css" href="style/style.css" />

, href.

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

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

, HTML- CSS-.

, HTML- . , CSS- HTML-.

CSS

- HTML- default.html CSS- - style.css :

default.html style.css
<html> <head> <title> CSS </title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <h1> </h1> </body></html> body { background-color: #FF0000;}  

. (".css" ".html").

:

1. CSS?

2. CSS HTML - ?

3. ?

4. CSS - ?

 

:

CSS- .

 

 



<== | ==>
58051 |
:


: 2016-09-03; !; : 494 |


:

:

, .
==> ...

1741 - | 1583 -


© 2015-2024 lektsii.org - -

: 0.008 .