-
Notifications
You must be signed in to change notification settings - Fork 0
/
classesofelements.html
69 lines (58 loc) · 1.55 KB
/
classesofelements.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Challenge: Classes of elements</title>
<style>
h2{
color :white;
}
.metal {
color: red;
}
.non-metal {
color: blue;
}
.semi-metal {
color: purple;
}
h2.metal {
background-color: red;
color :white;
}
h2.non-metal {
background-color: blue;
color :white;
}
h2.semi-metal {
background-color: purple;
color :white;
}
</style>
</head>
<body>
<h1>The Periodic Table</h1>
<p>
There are three broad classes of elements:
<strong class="metal">metals</strong>,
<strong class="non-metal">non-metals</strong>,
and <strong class="semi-metal">semi-metals</strong>.
</p>
<h2 class="metal">Metals</h2>
<ul>
<li>Solid</li>
<li>Good conductors of electricity</li>
<li>Ductile</li>
<li>Malleable</li>
</ul>
<h2 class="non-metal">Non-metals</h2>
<ul>
<li>Brittle</li>
<li>Poor conductors</li>
</ul>
<h2 class="semi-metal">Semi-metals (Metalloids)</h2>
<ul>
<li>Partially conduct electricity</li>
</ul>
</body>
</html>