.


:




:

































 

 

 

 


-




Ͳ ²Ҳ

 

 

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

CSS? , :

 

<h1><font color=red><b><u>TET</font></h1>

 

10-20 ? CSS.

 

H1 { color: red }

 

CSS. : (H1) (color:blue). : (color) (blue). , , HTML , . ( CSS ) . 'color' 50 , HTML .

 

HTML

 

, , . HTML HTML.

 

<HTML>

 

<HEAD>

<TITLE>title</TITLE>

 

<LINK REL=STYLESHEET TYPE="text/css HREF="cool.css"> <STYLE TYPE="text/css>

 

H1 { color: blue } </STYLE> </HEAD> <BODY>

 

<H1>Headline is blue</H1>

 

<P STYLE="color: green">While the paragraph is green. </BODY>

 

</HTML>

 

' HTML: 'LINK' ' , 'STYLE' 'HEAD' 'STYLE' 'BODY'. ³ ᒺ , CSS : (Linked Style Sheets - LSS), (Global Style Sheets - GSS) (Inline Style Sheets - ISS). .


 

 


 

:

 

H1, H2, H3 { font-family: helvetica }

.

H1 { font-weight: bold; font-size: 12pt; line-height: 14pt;

font-family: helvetica; font-variant: normal; font-style: normal;

}

, :

 

H1 { font: bold 12pt/14pt helvetica }

 

.

 

- 'first-letter'

 

- 'first-letter' , . 'first-line', .

 

, .

:

 

<HTML>

<HEAD>

 

<TITLE>Title</TITLE> <STYLE TYPE="text/">

P { font-size: 12pt; line-height: 12pt }
P:first-letter { font-size: 200%; float: left }
SPAN { text-transform: uppercase }

</STYLE>

 

</HEAD>

<BODY>

 

<P><SPAN>The first</SPAN> few words of an article in The Economist.</P> </BODY>

 

</HTML>

 

-

 

- :

 

BODY P:first-letter { color: purple }

 

- .

 

:

 

P.initial:first-letter { color: red }

 

<P CLASS=initial>First paragraph</A>

 

, initial. - - . -.

 

ղ

 

1. .

 

2. CSS, CSS.

 

3. .

 

XHTML

 

 

.1 XHTML -

 

 

CSS

 

 

. 2 CSS-

 

.3 CSS

.3

 

: (CSS), CSS.

 

 





:


: 2017-02-25; !; : 321 |


:

:

, ; , .
==> ...

1976 - | 1775 -


© 2015-2024 lektsii.org - -

: 0.01 .