<BODY> , , , , , . .
2.6.1 , , background, .
background-color, , , background-image. background-color transparent, . background-image , . , , .
,
BODY {background-color: lightsteelblue;
background-image: url(/image/image.gif);}
<P> {background-image: none}
.
, background-repeat . repeat ( , ), repeat-x repeat-y ( ) no-repeat ( ).
,
BODY {background-color: lightsteelblue;
background-image: url(/image/image.gif);
background-repeat: repeat-y;} /* */
background-attachment , , , . . fixed , scroll .
:
BODY {background-color: lightsteelblue;
background-image: url(/image/image.gif);
background-repeat: repeat-y;
background-attachment: fixed;}
background-position , , . . , , .
0% 0% , ( ). 100% 100% . , , 10% 80%, , 10% 80% , .
|
|
, , 10mm 10mm, 10 10 .
web- . :
<BODY BGCOLOR=#FFFFFF TEXT=#000000>
<BODY> .
.2 - HTML-
RGB | RGB | ||||||
#000000 | black | #C0C0C0 | silver | ||||
- | #800000 | maroon | #FF0000 | red | |||
#008000 | green | #00FF00 | lime | ||||
#808000 | olive | #FFFF00 | yellow | ||||
- | #000080 | navy | #0000FF | blue | |||
#800080 | purple | #FF00FF | fuchsia | ||||
#008080 | teal | #00FFFF | aqva | ||||
#808080 | gray | #FFFFFF | white |
:
<BODY BACKGROUND=URL >,
URL- .
, <body background=":\ \.jpg">.
.
WEB- <FONT>. , , , . <FONT> .
HTML-. (), , (, ) "" (, ). .
font-family.
font-family / . , , , , . , . , .
,
BODY {font-family: TimesDL, "Times New", serif}
HTML- TimesDL. , Times New, , serif .
|
|
, . , , :
1. serif (, Times)
2. sans-serif (, Helvetica)
3. cursive (, Zapf-Chancery)
4. fantasy (, Western)
5. monospace (, Courier)
, , .
,
BODY {font-family: "Times New Roman", serif}
font-style.
font-style : (normal), (italic) (oblique).
, . . .
, Oblique, Slanted Incline (oblique) . , Italic, Cursive Kursiv, (italic).
,
HI {font-style: italic} /* */
HI EM {font-style: normal}/* , */
font-variant.
(small-caps). , .
normal font-variant , small-caps . .
,
4 {font-variant: small-caps}/* */
EM {font-style: oblique} /* fz */
font- weight.
. 9 , 100, 200 900. 100 "" , 900 "".
normal, 400. bold 700.
, . , , , . : .
font-size.
. .
: xx-small, x-small, small, medium, large, x-large, xx-large, , . 1 1.5, 2 1.2. , large 1.2 medium 1.2 x-large. medium.
, 10pt, .
|
|
.
,
P {font-size: 10pt)
{font-size: 120%}
{font-size: 1.2em}
12pt.
color. , rgb-.
,
<P> {color: blue}
<> {color: rgb(0,0,255)}
.
, WWW, Times New Roman, Courier New Arial. , , 6 , :
<FONT SIZE=6 COLOR=#8080C0>.</FONT>
, <FONT> FACE, . . Arial :
<FONT FACE=Arial SIZE=6 COLOR=#8080C0>.</FONT>
FACE . , , , .
<FONT FACE=Verdana, Tahoma, Arial>.<FONT>
, , , , , , , Times New Roman.
. 1 7, .3.
.3 -
1 | 8 |
2 | 10 |
3 | 12 |
4 | 14 |
5 | 18 |
6 | 24 |
7 | 36 |
.
WEB- , , .
. Microsoft Internet Explorer LEFTMARGIN, RIGHTMARGIN, TOPMARGIN, BOTTOMMARGIN, .
<BODY> LEFTMARGIN, RIGHTMARGIN, TOPMARGIN, BOTTOMMARGIN. , .
<BODY LEFTMARGIN =100 RIGHTMARGIN =100 >
.
HTML " ". ? , , . . . HTML :
|
|
<A HREF="[ ]"> </A>
[ ] . HTML-, . :
<A HREF="pr.htm"> </A>
HTML- , pr.htm. : , . , . . HTML-, , , , .