0% found this document useful (0 votes)
30 views1 page

HTML Code 2

The document is an HTML template for a basic 'Contact Us' form that includes fields for name, email, and message, along with a submit button. When submitted, the form sends the data to a specified URL. It can be used directly by saving it as an HTML file and opening it in a browser.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views1 page

HTML Code 2

The document is an HTML template for a basic 'Contact Us' form that includes fields for name, email, and message, along with a submit button. When submitted, the form sends the data to a specified URL. It can be used directly by saving it as an HTML file and opening it in a browser.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

<!

DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Contact Us</title>
</head>
<body>
<h2>Contact Us</h2>

<form action="[Link] method="post">


<label for="name">Name:</label><br>
<input type="text" id="name" name="name" required><br><br>

<label for="email">Email:</label><br>
<input type="email" id="email" name="email" required><br><br>

<label for="message">Message:</label><br>
<textarea id="message" name="message" rows="5" cols="30"
required></textarea><br><br>

<input type="submit" value="Send Message">


</form>
</body>
</html>
What this does:
Displays a basic contact form with:

Text input for name

Email input

Text area for the message

Submit button

When submitted, it sends the data to a (placeholder) URL.

You can copy and paste this into a .html file and open it in your browser to see it
in action. Want a version that actually stores or sends data somewhere (like with
JavaScript or a backend)?

Ask ChatGPT

You might also like