-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathindex.html
More file actions
113 lines (103 loc) · 3.08 KB
/
Copy pathindex.html
File metadata and controls
113 lines (103 loc) · 3.08 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Añadido para responsividad -->
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>UFPSO - WEB</title>
<link rel="stylesheet" href="assets/css/estilos.css" />
</head>
<body>
<!-- Estructura básica y etiquetas de sección -->
<header>
<h1>Bienvenido al Proyecto HTML5</h1>
</header>
<main>
<!-- Enlaces o hipervínculos -->
<section aria-label="Enlaces importantes">
<h2>Enlaces o Hipervínculos</h2>
<p>
Puedes visitar el sitio web de la
<a href="https://www.w3schools.com" target="_blank" rel="noopener noreferrer">W3Schools</a> para
más información sobre HTML5.
</p>
</section>
<!-- Etiquetas de tablas -->
<section aria-label="Información tabular">
<h2>Tablas en HTML5</h2>
<table>
<thead>
<tr>
<th>Nombre</th>
<th>Edad</th>
<th>Ocupación</th>
</tr>
</thead>
<tbody>
<tr>
<td>Juan Pérez</td>
<td>28</td>
<td>Desarrollador Web</td>
</tr>
<tr>
<td>María López</td>
<td>32</td>
<td>Diseñadora Gráfica</td>
</tr>
</tbody>
</table>
</section>
<!-- Etiquetas multimedia: imágenes y video -->
<section aria-label="Contenido multimedia">
<h2>Imágenes y Video en HTML5</h2>
<h3>Imagen:</h3>
<img
src="https://via.placeholder.com/600x300"
alt="Imagen de ejemplo"
/>
<h3>Video:</h3>
<video controls>
<source
src="https://videos.pexels.com/video-files/11274330/11274330-uhd_2560_1440_25fps.mp4"
type="video/mp4"
/>
Tu navegador no soporta video HTML5.
</video>
</section>
<!-- Formularios y validaciones -->
<section aria-label="Formulario de contacto">
<h2>Formulario de Contacto</h2>
<form action="#" method="POST">
<label for="name">Nombre:</label>
<input
type="text"
id="name"
name="name"
placeholder="Ingresa tu nombre"
required
/>
<label for="email">Correo electrónico:</label>
<input
type="email"
id="email"
name="email"
placeholder="Ingresa tu email"
required
/>
<label for="message">Mensaje:</label>
<textarea
id="message"
name="message"
rows="4"
placeholder="Escribe tu mensaje"
required
></textarea>
<input type="submit" value="Enviar" />
</form>
</section>
</main>
<footer class="bg-dark text-center text-light p-4">
<p>Proyecto de Ejemplo en HTML5 - 2024</p>
</footer>
</body>
</html>