-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
123 lines (119 loc) · 4.79 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./index.css">
<title>MANEJO DE DOM</title>
</head>
<body onload="open()">
<div id="body_">
<section id="one">
<div class="contenedor">
<h1 id="title" class="title">DOM</h1>
<ul class="list">
<li class="list_text">DocumentById</li>
<li class="list_text">DocumentByClassName</li>
<li class="list_text">DOcumetByTagName</li>
<li class="list_text">QuerrySelector</li>
<li class="list_text">QuerrySelectorAll</li>
</ul>
</div>
</section>
<section id="two">
<div class="contenedor">
<h1 id="title_Two" class="title">EVENT LISTENERS</h1>
<div class="f_content">
<div class="content">
HOLA
<button class="btn_two">Enter</button>
</div>
<div class="content">
HOLA 2
<button class="btn_two">Enter</button>
</div>
<div class="content">
HOLA 3
<button class="btn_two">Enter</button>
</div>
</div>
</div>
</section>
<section id="three">
<div class="contenedor">
<h1 id="title_three" class="title">PRUEBAS</h1>
<p class="hello">hola</p>
<p class="hello">hola 2</p>
</div>
</section>
<section id="for">
<form id="Form" action="">
<div class="formulario">
<h1 class="form_title">FORMULARIO DE CONTACTO</h1>
<div class="form_content">
<label for="name">Name</label><input name="name" type="text" id="name">
<br>
<label for="lastName">Last Name</label><input name="lastName" type="text" id="lastName">
<br>
<label for="address">Address</label><input name="address" type="text" id="address">
<br>
<label for="email">Email</label><input name="email" id="email" type="email">
<br>
<label for="date">Date</label><input name="date" type="date" id="date">
</div>
</div>
<div id="saludo"></div>
</form>
<button id="salud" onclick="mostrarValores()">ENVIAR</button>
</section>
<section id="Five">
<div class="Eventos">
<h1 class="title">EVENTOS JS </h1>
<div class="Eventos_content">
<div class="eventos_js">
<p>
onLoad > Util para mostrar contenido al inicar la pagina
</p>
</div>
<div class="eventos_js">
<p>
onChange > Realiza la accion al salir del tag asignado
</p>
</div>
<div class="eventos_js">
<p onmouseover="mayuscula(this)" onmouseout="minuscula(this)">
onMouseOver and onMouseOut
</p>
</div>
<div class="eventos_js">
<p onmousedown="mayuscula(this)" onmouseup="minuscula(this)">
onMouseDown and onMouseUp
<p>
</div>
<div class="eventos_js">
<p>
Focus and blur
<br>
<input type="text" id="f-b">
<br>
<input type="text" id="f-b-af">
</p>
</div>
<div class="eventos_js">
<p>
OnCapture > permite heredar las definiciones a los elementos internos
<form action="" id="form">
Name: <input type="text">
<br><br>
LastName: <input type="text">
</form>
</p>
</div>
</div>
</div>
</section>
</div>
<script src="./index.js"></script>
</body>
</html>