1
0. /* ... */ - �����������
3
a. <span style="color: red; text-align: center;">...</span>
5
<style type="text/css">
7
.class1 { color: red; }
8
.class2 { color: blue; }
11
<span class="class1">...</span>
12
�. <link rel="stylesheet" type="text/css" href="style.css" title="..."/>
14
���������� (���� ���� ���������������): c->b->a
16
2. ��������������� ����������� �����
20
3. ���������� ��������� ������� �����
21
.class1,.class2 {color: red;}
23
4. ����� ������� ��� ����� ��������� ������ ��� ��������� ������� ('<p>' ���)
26
<p class=small> ... </p> - OK
27
<td class=small> ... </p> - ����� small �� ����� �����������
30
a:hover - ������ � ������, ����� ������ ��������� ��� ���
31
a:active - ���� ������ ��� ���� ������������
32
a:focus - ������� ������
33
a:link - ������������, ��� �� �������������� ������
34
p:first-letter - ������ ����� ������
39
font-weight: [bold|normal|number]
40
font-style: [normal|italic|oblique]
42
font-family: [arial|helvetica|sans-serif]
45
background: <url> (���� � ���������)
49
text-align: [left|right|center|justify]
50
text-indent: ### (������ ������� ������)
53
padding-[left|right|top|bottom] ������ ������
54
margin-[left|right|top|bottom] ������ �������
58
display: [none] ������� ������
59
cursor: [hand|...] ��� �������
63
�����: #RRGGBB ��� <standard color name>
66
90%, 1pt (������), 1pc (����), 1px (�������), 1in (�����)
67
larger, smaller, xx-small, x-small, small, medium, large, x-large, xx-large
68
em (c������ ������ ����� 'm'), ex ( -|- 'x'), cm, mm