-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform.html
More file actions
34 lines (29 loc) · 757 Bytes
/
Copy pathform.html
File metadata and controls
34 lines (29 loc) · 757 Bytes
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
<html>
<head>
<script src="form.js"></script>
<link rel="stylesheet" href="form.css">
<title>Form</title>
</head>
<body>
<div class="container">
<span>Contact Us</span>
<form id="details_form" onsubmit="return saveToLocalStorage();">
<div class="row">
<label>Name:</label>
<input type="text" name="name" required><br>
</div>
<div class="row">
<label>Subject:</label>
<input type="text" name="subject" required><br>
</div>
<div class="row">
<label>E-mail:</label>
<input id="email" type="text" name="email" required><br>
</div>
<textarea name="comment" form="details_form" required></textarea>
<input id="submit" type="submit">
<label id="error_message"></label>
</form>
</div>
</body>
</html>