Give it in a html form?

Sure! If you're looking for a basic HTML form structure, here it is:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Sample HTML Form</title>
</head>
<body>

<h1>Sample Form</h1>

<form action="/submit-form" method="POST"> <!-- Replace '/submit-form' with your own action URL -->
    <label for="name">Name:</label>
    <input type="text" id="name" name="name" required>
    <br><br>

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

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

    <input type="submit" value="Submit">
</form>

</body>
</html>

This code creates a simple HTML form with the following features:

  • A text input for the user's name.
  • An email input for the user's email.
  • A textarea for a message.
  • A submit button.

You can modify the action URL in the <form> tag to specify where you want to submit the form data.

Have your own question?

Ask the AI now