-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
72 lines (64 loc) · 2.08 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="style.css">
<title>Simple User Address Book System</title>
</head>
<body>
<header>
<h1>Simple Address Book Manager</h1>
</header>
<main>
<section id="contact-display">
<h2 class="contacts">Contacts</h2>
<table>
<tr id="head">
<thead>
<th>Name</th>
<th>Address</th>
<th>Mobile Number</th>
<th>Email</th>
<th>Website</th>
</thead>
</tr>
<tbody id="data">
</tbody>
</table>
</section>
<section id="new-contact">
<h2>Create a new contact</h2>
<form>
<div>
<label for="name">Name:</label>
<input id="name" type="text" maxlength="15" required>
</div>
<div>
<label for="add">Address:</label>
<input id="add" type="text" maxlength="30" required>
</div>
<div>
<label for="tel">Telephone:</label>
<input id="tel" type="tel" maxlength="15" required>
</div>
<div>
<label for="email">Email:</label>
<input id="email" type="email" maxlength="30" required>
</div>
<div>
<label for="url">Website:</label>
<input id="url" type="url" maxlength="20">
</div>
<div>
<button>Create contacts</button>
</div>
</form>
</section>
</main>
<footer>
</footer>
<script src="script.js"></script>
</body>
</html>