Answers for "how to create a form in html and css to take 4 inputs"

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
1

form css

#form {

    border: 1px solid black;
    padding: 1.5%;
    text-align: center;
    

}
Posted by: Guest on October-06-2020

Code answers related to "how to create a form in html and css to take 4 inputs"

Browse Popular Code Answers by Language