Answers for "we3schools forms"

86

html form

<form action="/action.php">
  <label for="fname">First name:</label><br>
  <input type="text" id="fname" value="Mike"><br><br>
  <label for="lname">Last name:</label><br>
  <input type="text" id="lname" value="Walker"><br><br>
  <input type="submit" value="Submit">
</form>
Posted by: Guest on March-26-2020
0

html form

<!-- Contact Form with name, email, textarea, submit button -->
        <form>
            <h2>Contact Us</h2>
            <input type="text" placeholder="Your Name" target="name">
            <input type="text" placeholder="Email Address" target="email">
            <textarea cols="10" rows="6" placeholder="Type Your Message" target="message"></textarea>
            <input type="submit" target="send">
        </form>
Posted by: Guest on April-18-2022

Browse Popular Code Answers by Language