-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy path00-dom.html
58 lines (47 loc) · 1.02 KB
/
00-dom.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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>DOM</title>
<script src="https://d3js.org/d3.v4.min.js"></script>
<style type="text/css">
body {
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}
h1 {
font-size: 20pt;
}
h2 {
font-size: 16pt;
}
ul {
margin-top: 5px;
}
.imp {
font-weight: bold;
}
.emph {
font-style: italic;
}
</style>
</head>
<body>
<h1>Page Title</h1>
<p>Some <span class="emph">paragraph</span> text.</p>
<h2>Sub-Header</h2>
<p>Some text, with something <span class="imp">important</span>.</p>
<h2>Sub-Header</h2>
<p>Some more text, with something <span class="emph">emphasized</span>.</p>
<p>Now here's a list:</p>
<ul id="list">
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
<li>Item 4</li>
<li>Item 5</li>
</ul>
<script type="text/javascript">
// No JavaScript or D3 code on this page yet!
</script>
</body>
</html>