-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform_test.html
17 lines (16 loc) · 903 Bytes
/
form_test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<div id="form">
<form method="POST" action="./form.html">
<h1>Contact Form</h1>
<label for="fname">Your name:</label>
<input type="text" name="fname" placeholder="Your name" required><br>
<label for="femail">Email address:</label>
<input type="text" name="femail" placeholder="[email protected]" required><br>
<label for="fphone">Phone number:</label>
<input type="text" name="fphone" placeholder="+41 55 555 55 55" required><br>
<p>How would you like me to contact you?</p>
<input type="radio" name="contact" value="Phone">Phone</input><br>
<input type="radio" name="contact" value="Email">Email</input><br><br>
<textarea rows="10" cols="30" name="contact">Type your message here.</textarea><br>
<input type="submit" value="Submit message">
</form>
</div>