-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathajoutter.html
46 lines (38 loc) · 1.34 KB
/
ajoutter.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 lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
form{
display: flex;
flex-direction:column;
background-color:beige;
border: 0px ;
border-radius:10px;
width:600px;
}
input, label{
width: 300px;
margin-left:150px;
}
</style>
</head>
<body style="display:flex;align-items:center;justify-content:center;">
<form action="ajoutter.php" method="POST">
<h1 align="center">Hotels:</h1>
<label for="">Nom</label>
<input type="text" name="nom"><br> <br>
<label for="">Adresse</label>
<input type="text" name="adresse"><br> <br>
<label for="">Prix par nuit </label>
<input type="text" name="prix"><br> <br>
<label for="">Etoile </label>
<input type="number" name="etoile"><br> <br>
<label for="">Nombre de place </label>
<input type="text" name="place">
<input type="submit" value="ajouter" align="center" style="width:100px;height:30px;background-color:pink;border:0px;border-radius:15px;color:white;margin:30px;margin-left:250px">
</form>
</body>
</html>