Answers for "html <form>"

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
3

html forms

<form action="/page/"></form>
<input type="text">
<input type="password">
<input type="email">
<input type="date">
<input type="url">
<input type="image">
<input type="search">
<input type="checkbox" name="">
<input type="button">
<input type="number">
<input type="color">
 
<input type="radio" name="radio" id="radio1" value="radio1selected">
<input type="radio" name="radio" id="radio2" value="radio1selected">
<input type="radio" name="radio" id="radio3" value="radio1selected">
 
 
<select name="Meal" id="Meal">
<option value="Steak">Steak</option>
<option value="Fish">Fish</option>
</select>
 
 
<input type="text" placeholder="hint text">
 
<label for="username">Enter a username</label>
<input type="text" placeholder="Enter username" id="username">
Posted by: Guest on January-05-2021
1

intput field submit button

<label for="fname">First name:</label><br>
  <input type="text" id="fname" name="fname"><br>
Posted by: Guest on August-08-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
0

html form tag

<title> Narrow Login Survey </title>

<h1>SSO Survey</h1>

<input type="box" placeholder="Username">
<input type="password" type="box" placeholder="Password">

<input type="checkbox"> Remember me

<button type="submit">Confirm</button>
Posted by: Guest on August-17-2021

Browse Popular Code Answers by Language