Computer Science, asked by shruti2829, 6 months ago

Valid attributes of <form> tag *​

Answers

Answered by kumarrparth
0

Answer:

<form> <select> <option value""> </option> </select> </form>

Explanation:

This All Are Valid Attributes Of <form> Tag

                        OR

Run this code in Notepad

!DOCTYPE html>

<html>

<head>

<title>Options</title>

</head>

<body>

<center>

<p><h1>Parth's Form Submission</h1></p>

</center>

<form>

<p>Name: <input type="text" name="userid" size="24"></p>

<p>Gender: <input type="text" name="gender" size"50"></p>

<p>DOB: <input type="text" name="dateofbirth"></p>

<p>Age: <input type="text" name="Age" size="24"></p>

<p>Email ID: <input type="text" name="Email ID"></p>

<p>Password:<input type="password" name="pwd"></p>

<p>Phone Number: <input type="Phone Number" name="Phone Number"></p>

<select>

<option value"">-Select Car-</option>  

<option value"">Audi</option>

<option value"">Maruti Suzuki</option>

<option value"">Lamborghini</option>

<option value"">Ferrari</option>

</select>

<br /><br /><br />

<select>

<option value"">-Select Plane-</option>

<option value"">Boeing 747</option>

<option value"">Boeing 777</option>

<option value"">Boeing 737</option>

<option value"">Antonov</option>

</select>

<br /><br /><br />

<select>

<option value"">-Select City-</option>

<option value"">Mumbai</option>

<option value"">Pune</option>

<option value"">Bengaluru</option>

<option value"">Chennai</option>

<option value"">Hyderabad</option>

<option value"">New Delhi</option>

</select>

<br /><br /><br />

<select>

<option value"">-Select IPL Team-</option>

<option value"">Mumbai Indian (MI)</option>

<option value"">Chennai Super Kings(CSK)</option>

<option value"">Delhi Capitals (DC)</option>

<option value"">Royal Challengers Bangalore (RCB)</option>

<option value"">Kings XI Punjab (KXIP)</option>

<option value"">Kolkata Knight Riders (KKR)</option>

<option value"">Rajasthan Royals (RR)</option>

</select>

<br /> <br /><br />

<select>

<option value"">-Select Serach Engine-</option>

<option value"">Google</option>

<option value"">Bing</option>

<option value"">Yahoo</option>

<option value"">Ask.com</option>

<option value"">DuckDuckGo</option>

</select>

<br /><br /><br />

<select>

<option value"">-PC Games-</option>

<option value"">Microsoft Flight Simulator</option>

<option value"">Minecraft PC</option>

<option value"">Dark Souls 3</option>

<option value"">Monster Hunter World</option>

<option value"">Among Us PC</option>

<option value"">Fall Guys: Ultimate Knockout</option>

<option value"">Free Fire PC</optiont>

<option value"">Call of Duty PC</option>

<option value"">Grand Theft Auto V PC</option>

</select>

<br /><br /><br />

<select>

<option value"">-Mobile Games-</option>

<option value"">Minecraft Mobile</option>

<option value"">Clash Of Clan</option>

<option value"">Free Fire Mobile</option>

<option value"">Among Us Mobile</option>

<option value"">Subway Surfers</option>

<option value"">Call of Duty Mobile</option>

</select>

<br /><br /><br />

<select>

<option value"">-PS4 Games-</option>

<option value"">Spider-Man</option>

<option value"">God Of War</option>

<option value"">Bloodborne</option>

<option value"">Red Dead Redempition 2</option>

<option value"">Uncharted 4: A Thief's End</option>

<option value"">Grand Theft Auto V</option>

<option value"">Fortnite</option>

<option value"">Minecraft</option>

</select>

<br /><br /><br />

<select>

<option value"">-Select Fruits-</option>

<option value"">Mango</option>

<option value"">Apple</option>

<option value"">Orange</option>

<option value"">Pomegranate</option>

</select>

<p>Other: <input type="text" name="other" size="20"></p>

<br /><br /><br />

<select>

<option value"">-Select Player-</option>

<option value"">Rohit Sharma</option>

<option value"">M.S. Dhoni</optio>

<option value"">Virat Kholi</option>

<option value"">Ishan Kishan</option>

<option value"">K.L. Rhal</option>

</select>

<p>Other: <input type="text" name="other" size="20"></p>    

<br /><br /><br />  

     

<input type="SUBMIT" value="Submit">

<input type="Reset">

</form>

</body>

</html>

Similar questions