Simple HTML5 Form
Simple HTML5 Form base
HTML
<form method="post" action="emailpost.php">
<label for="realname"><strong>Your Name:</strong>
</label>
<input type="text" style="width: 100%;" aria-required="true" required="required" name="realname" id="realname" placeholder="John Smit">
<label for="email"><strong>Your E-mail Address:</strong>
</label>
<input type="email" style="width: 100%;" required="required" aria-required="true" id="email" name="email" placeholder="[email protected]">
<label for="Inquiry"><strong>Briefly describe</strong>:</label>
<textarea style="width: 100%;" rows="7" required="required" aria-required="true" wrap="soft" id="Inquiry" name="Inquiry" placeholder="Please describe your question or comment"></textarea>
<br>
<br>
<button type="submit">Submit Form</button>
</form>
CSS
a{color:#585858; cursor:pointer}
a:hover{text-decoration:underline; color:#660000; cursor:pointer}
html, body{margin:0px 0px 1px 0px; height:100%; padding:0px}
body{margin:0px auto; padding:10px; /*background-color:#CC6699; */ font-family:Arial,Helvetica,sans-serif; font-size:13px}
#email:focus{text-decoration:underline; color:#660000;}