-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
29 lines (28 loc) · 1.52 KB
/
index.php
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
<!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">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
<title>Formulários em php</title>
</head>
<body>
<div class="container" style="display: flex; justify-content: center;margin-top: 200px;">
<form action="old.php" method="POST">
<h1>Olá, calcule a sua idade.</h1>
<div class="mb-3">
<input type="number" class="form-control" id="exampleFormControlInput1" placeholder="Write here year you were born" name="idade">
</div>
<select class="form-select" aria-label="Default select example" name="op">
<option selected disabled>Select an option</option>
<option value="1">Yes</option>
<option value="2">Not</option>
</select>
<input type="submit" value="Calcular" id="btn" class="btn btn-success" style="margin-top: 10px;">
</form>
</div>
<!--<p><a href="javascript:history.go(-1)">Voltar</a></p>-->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.min.js" integrity="sha384-cuYeSxntonz0PPNlHhBs68uyIAVpIIOZZ5JqeqvYYIcEL727kskC66kF92t6Xl2V" crossorigin="anonymous"></script>
</body>
</html>