Tuesday, 28 December 2021

 HOW to make forms with the help of code in HTML

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>form </title>
</head>
<body>
    <h3>This is HTML form tutorial</h3>
    <form action="backend.css"></form>
    <div>
       
        Name: <input type="text">
    </div>
    <br>
    <div>
   Address:<input type="text">
    </div>
    <br>
   <div>
   Gender:<input type="text">
    </div>
    <br>
    <br>
    Date:<input type="date" name="date" id="">
    <br>
    <br>
    Bonus:<input type="number" name="Number" id="">
    <br>
<label for="Are you eligible?">Are you eligible?</label>
     <input type="checkbox" name = "my eligibility"id ="Are you eligible?" >
    <br>
    <br>

    <div>
    Gender : Male <input type="radio" name = "my gender">
    Female: <input type="radio" name = "my gender">
    other<input type="radio" name = "my gender">
</div>
<div>
    <label for="car">Car</label>
    <select name="mycar" id="car">
    <option value="Bmw">BMW</option>
    <option value="ferrari">Ferrari</option>
    <option value="forza" selected> Forza</option>
</select>
   
</div>
   
<div>
write about yourself <br><textarea name="mytext" id="" cols="60" rows="10"></textarea><br>



</div>
<br>
<div>

<input type="submit" value="Submit Now">
<input type="Reset" value="Reset Now">
<div>
   
</body>
</html>

Aditya Patel

Author & Editor

Has laoreet percipitur ad. Vide interesset in mei, no his legimus verterem. Et nostrum imperdiet appellantur usu, mnesarchum referrentur id vim.

0 comments:

Post a Comment