.


:




:

































 

 

 

 





 

'
Margin <>< > <>% auto px, in, cm, mm, pc , , , , . , 25mm; %
Padding
Border-width
Border-color   Black, coral, orange, rgb   #rrggbb (, #00cc00) rgb(x,x,x), =0...255, rgb(x%,x%,x%), =0.0...100.0
Border-style   None, dotted, dashed, solid, double, groove, ridge, inset, outset г : , ,

 

 

3.

(display= inline) , , .

list-item ( 11).

11

display=list-item

'
list-style < >
list-style-image url (""), none
list-style-position outside, inside
list-style-type disc, circle, square...

 

4.

, ( 12), ( 13).

12

'
font < >
font-family < >
font-size , %, . ., xx-small, x-small, small....
font-style normal, italic, oblique
font-variant normal, small-caps
font-weight normal, bold, bolder, lighter, 100, 200...

 

13

'
letter-spacing <>, normal
line-height <>, <>%, normal
text-align left, right, center, justify
text-decoration none, underline, overline, line-through, blink
text-indent <>, <>%
vertical-align baseline, sub, super, top-text, top, middle, bottom, bottom-text, <>%
word-spacing <>, normal

 

5.

, ' . , <H1 CLASS="bl">TEXT</H1> :

H1.bl {color:blue; size:20pt}

.bl {color:blue}
ID #. , <H1 ID="rd">TEXT</H1>:

#rd {color:blue; size:20pt}

(CLASS ID) , .

, ( ). , ' .

OL LI {list-style-type: decimal}

UL LI { list-style-type: square}

(OL) , (UL) .

, CLASS, ID :

DIV P { font: small sans-serif }

.reddish H1 { color: red }

#x78y CODE { background: blue }

DIV.sidenote H1 { font-size: large }

(, , , , ), . , < href=" ">:

link (), active ( ), visited ( URL), hover (, , ).

a:link,a:visited {color:blue} - URL

a:active {color:red} -

a:hover {text-decoration:none} - , .

, (, ):

P:first-line {color: purple }

H1:first-letter { color: red }.

 





:


: 2016-03-26; !; : 427 |


:

:

.
==> ...

1488 - | 1481 -


© 2015-2024 lektsii.org - -

: 0.008 .