Please create the submit to send a form to an email. Here is the HTML. I need th
ID: 3847268 • Letter: P
Question
Please create the submit to send a form to an email.
Here is the HTML. I need the submit button to send the form to an email. The email is email@email.com.
<!DOCTYPE html>
<html>
<body style=background-color:brown>
<form action="mailto:someone@example.com" method="post" enctype="text/plain">
<fieldset style=background-color:red;color:white>
<legend>Request:</legend>
First name:<br>
<input type="text" name="firstname" value="text box">
<br>
Last name:<br>
<input type="text" name="lastname" value="text box">
<br>
Email Adress:<br>
<input type="text" name="email" value="text box">
<br>
Phone Number:<br>
<input type="phone" name="firstname" value="text box">
<br>
Reason for contact:<br>
<input type="text" name="reason" value="text box" style=height:200px;width:200px;>
<input type="submit" value="Submit">
<br><br>
</fieldset>
</form>
</body>
</html>
Explanation / Answer
<!DOCTYPE html>
<html>
<body style=background-color:brown>
<form action="mailto:email@email.com" method="post" enctype="text/plain">
<fieldset style=background-color:red;color:white>
<legend>Request:</legend>
First name:<br>
<input type="text" name="firstname" value="text box">
<br>
Last name:<br>
<input type="text" name="lastname" value="text box">
<br>
Email Adress:<br>
<input type="text" name="email" value="text box">
<br>
Phone Number:<br>
<input type="phone" name="firstname" value="text box">
<br>
Reason for contact:<br>
<input type="text" name="reason" value="text box" style=height:200px;width:200px;>
<input type="submit" value="Submit">
<br><br>
</fieldset>
</form>
</body>
</html>
"<form action: mailto works as submit in a form"
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.