Simple Contact Form HTML Code?

You need to also have some kind of server-side scripting like PHP or ASP to process the form data and mail it to you.

Drop me an email and I'll knock one together quickly for you in PHP (you'll need to be hosting the site on a server with PHP).
 
<form action="somewhere.php" method="post">
<label for="name">Name</label>
<input type="text" id="name" name="name" type="text" />
<br />

<label for="email">E-Mail</label>
<input type="text" id="email" name="email" type="text" />
<br />

<select>
<option value="subject1">Subject 1</option>
<option value="subject2">Subject 2</option>
<option value="subject3">Subject 3</option>
</select>

<textarea rows="10" cols="50">Enter message here</textarea>

<input type="submit" value="Contact" />
</form>
 
Back
Top