default value input
snippet in html

js form default value

user6833

<input value="someStandardValue"/>

default value input

user5197

<input type="text" id="fname" name="fname" value="John">

html input default value

user1934

<input id = idhere type = text placeholder = 'default value'>

html setting the valuw of an input field

user2756


  
    <form 
    action="/action_page.php">

  <label for="fname">First name:</label>
  <input type="text" id="fname" 
    name="fname" value="John"><br><br>
  <label for="lname">Last 
    name:</label>
  <input type="text" id="lname" name="lname" 
    value="Doe"><br><br>
  <input type="submit" value="Submit">

    </form>