- , first-child lang:
a: link - ; a: active - ;a: visited - ; a: hover - ; a: focus -
first-child - .
lang - .
, . CSS ">".
: first-letter - ; first-line - ; after - ; before - .
CSS
CSS ec : - (%), (larger, smaller, xx-small, x-small, small, medium, large, x-large, xx-large), - (pt), (pc), (px), - "m" (em), "x" (e), - (cm), (mm), (in), (px)
: : yellow, red, green, grey,..; #RRGGBB: #ff0000, #883490, #ffffff,..; rgb(red, green, blue): rgb(255,0,0), rgb(100,23,78),..
:
.epigraph {
font-size: 12pt;
font-style: italic;
text-align: right;
color: rgb(127,127,0);
}
p.big {
font-size: 16px;
font-weight: bold;
color: #ff0000;
}
.menu {
font-weight: bold;
font-size: 9pt;
font-family: arial, helvetica, sans-serif;
}
a:hover {
color: #b63a3a;
text-decoration: none;
}
CSS3
border-radius, box-shadow, text-shadow, opacity, border-image, rgba(x,y,z,a), backgroun-size, background:url(), url(), column-count, transition, transform, @font-face, background-clip, animation, @animation-keyframes.
:.radius_border { border-radius: 25px;
-moz-border-radius: 25px;
-webkit-border-radius: 25px;
}
:box_shadow { box-shadow: 5px 5px 2px #000;
-moz-box-shadow: 5px 5px 2px #000;
-webkit-box-shadow: 5px 5px 2px #000;
}
: TEXT.text_shadow { text-shadow: 2px 2px 2px #000;
-moz-text-shadow: 2px 2px 2px #000;
-webkit-text-shadow: 2px 2px 2px #000;
}
Transition:.pic { margin-left: 80%;
-webkit-transform: rotate(-30deg) scale(1.5);
-webkit-transition: all 2s ease-in;
|
|
}
CSS
CSS- CSS. , , , , . , . CSS http://jigsaw.w3.org/css-validator/. , . HTML- validator.w3.org
4. JavaScript
JavaScript 1995 Netscape Communication Corporation, Web- Netscape Navigator. JavaScript (), Web-. JavaScript . , , . . . .
JavaScript Web- . JavaScript Flash, .
, JavaScript , , :
, ;
, , , ;
, ;
.
. Javaascript , , , , . , . JavaScript , , JavaScript.
. . , , .
. JavaScript Web-.
. JavaScript , . , JavaScript
. - . JavaScript .
. JavaScript , .
|
|
. , HTML , , .
JavaScript :
(ECMAScript),
(Browser Object Model BOM),
(Document Object Model DOM).
ECMAScript , , , , , .
BOM window : navigator, location, history, frames, screen, setTimeout() setInterval().
, :
,
,
,
,
,
,
,
HTTP cookie.
DOM, , , :
,
,
,
.