-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmodelo.html
38 lines (38 loc) · 1.12 KB
/
modelo.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
<!DOCTYPE html>
<html lang="pt-BR">
<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">
<title>Modelo de Exercício</title>
<link rel="stylesheet" href="estilo.css">
</head>
<body>
<header>
<h1> Verificador de idade</h1>
</header>
<section>
<div>
<p> Ano de Nascimento:
<input type="number" name = "txtano" id="txtano" min="0">
</p>
<p>Sexo:
<input type="radio" name="radsex" id="masc"checked>
<label for="masc">Masculino</label>
<input type="radio" name="radsex" id="fem">
<label for="fem">Feminino</label>
</p>
<p>
<input type="button" value="Verificar" onclick="verificar()">
</p>
</div>
<div id="res">
Preencha os dados acima para ver o resultado
</div>
</section>
<footer>
<p>©CursoemVideo</p>
</footer>
<script src="script.js"></script>
</body>
</html>