-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
46 lines (37 loc) · 1.14 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>JavaScript DOM</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<header>
#header
<button onclick="footer()">Final da Página</button>
</header>
<div style="min-height: 1000px">
<h1>Título</h1>
<p id="test">Sou um texto</p>
<div id="test-id" attr-value="Valor">Conteúdo</div>
<div name="div-name">Sou um div</div>
<div id="test-class"></div>
<!-- beforebegin -->
<ul>
<!-- afterbegin -->
<li>Option 1</li>
<li>Option 2</li>
<li>Option 3</li>
<li>Option 4</li>
<!-- beforeend -->
</ul>
<!-- afterend -->
</div>
<footer>
<button onclick="topo()">Topo</button>
#footer
</footer>
<script src="app.js"></script>
</body>
</html>