Answers for "w3schools css tags for forms"

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

css set styles for input text

input[type="text"] {  font-size: 0.9em;  padding-top: 0.35rem;}
Posted by: Guest on September-26-2020

Browse Popular Code Answers by Language