Answers for "how to do forms in html"

55

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

forms in html

<!--This is a contact me form created using HTML -->
<form action="mailto:youremail" enctype='text/plain'>
        <label for="">Your Name: </label>
        <input type="text" name='yourName'><br>
        <label for=>Your Emain: </label>
        <input type="email" name='yourEmail'><br>
        <label for="">Your Message: </label><br>
        <textarea name="yourMessage" id="" cols="30" rows="10"></textarea><br>
        <input type="submit"> 
    </form>
Posted by: Guest on February-23-2021
3

forms in html

<html>
<form action= "your site" method = "post/get">
  </form>
</html>
Posted by: Guest on June-02-2020

Browse Popular Code Answers by Language