HTML code for a simple contact form

WPTurbo » Snippets » HTML code for a simple contact form
0

Created with:

Visibility: 

public

Creator: Oaxaca Gold

Customize with WPTurbo AI
X

Add Snippet To Project

New Project
Add To Existing Project
					<form action="submit.php" method="POST">
  <label for="name">Name:</label>
  <input type="text" id="name" name="name" required>
  
  <label for="email">Email:</label>
  <input type="email" id="email" name="email" required>

  <label for="message">Message:</label>
  <textarea id="message" name="message" required></textarea>
  
  <button type="submit">Submit</button>
</form>
				

Explanation:

Remember to update the action attribute with the appropriate script or URL where you want to handle the form submission. This is just a basic structure for a contact form, and you can add additional fields or customize the design as per your requirements.

Register an account to save your snippets or go Pro to get more features.