-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHTML_2.html
More file actions
28 lines (26 loc) · 1.08 KB
/
HTML_2.html
File metadata and controls
28 lines (26 loc) · 1.08 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>HTML 2</title>
<meta charset="utf-8">
<script src="JavaScript/JavaScript_2.js"></script>
<link rel="stylesheet" href="CSS/CSS_1.css">
</head>
<body>
<!-- Create a basic contact form -->
<div>
<form name="myForm" action="/action_page.php" onsubmit="return validateForm()" method="post">
First name: <input type="text" name="fname" placeholder="Your first name..."><br>
Last name: <input type="text" name="lname" placeholder="Your last name..."><br>
Mailing address: <input type="text" name="address" placeholder="Your mailing address..."><br>
Country: <select id="country" name="country">
<option value="usa">USA</option>
<option value="canada">Canada</option>
<option value="mexico">Mexico</option>
</select>
<br><br>
<input type="submit" value="Submit">
</form>
</div>
</body>
</html>