Reference no: EM131850761
Having trouble with the following questions.
- List the 6 input types supported in HTML in general, and the 12 input types supported only in HTML5.
- Using the below code, I have to answer the following questions:
- Based on the code below, where will this form be sent after the user clicks the Submit button?
- How would the HTML code need to be changed if you wanted the contents of the form to be sent to after the user clicks the Submit button? Give the entire new HTML statement that would be required to make it work.
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="MyStyle.css">
</head>
<body>
<nav>
<a href="GroceryHome.html">Home</a> |
<a href="Products.html">Products</a> |
<a href="AboutUs.html">About Us</a> |
<a href="Contact.html">Contact</a>
</nav>
<header>
<h1> My Contact Page</h1>
</header>
<article>
Thank you for your interest in our grocery store. We offer delivery or call-ahead pickup services. Please provide your contact information, and indicate your family's food preferences.
</article> <p>
<form action="#" method="post" id="form1">
<div class="div1">
<label for="fname1" >First Name:</label><br>
<input type="text" name="firstname1" id="fname1"><br>
<label for="lname1" >Last Name:</label><br>
<input type="text" name="lastname1" id="lname1"><br>
<label for="phone1" >Phone (i.e. 123-456-7890):</label><br>
<input type="text" name="phone1" id="phone1" placeholder="123-456-7890" ><br>
<label for="email1" >Email:</label><br>
<input type="text" name="email1" id="email1" placeholder="abc@xyz"><br>
<label for="contactpreference1" >Prefered contact method?</label><br>
<input type="radio" name="contactpreference1" value="phone" checked> Phone
<input type="radio" name="contactpreference1" value="email"> Email
<br><br>
<input type="submit" id="Submit1" value="Submit" onclick=" validateMyPage()" />
</div>
</form>