Saturday, 17 March 2018

drop down menu or select tag coding in html

Drop down menu or select tag coding in html

For making drop down menu or select tag coding in html 5 is give below to make your form much more better.
  • Be careful, see where tag starts and where closes.
select tag - drop down menu in html
drop down menu in html
<html>
<head>
<title>My Website</title>
</head>
<body bgcolor="white">
<form>
<fieldset>
<legend>Choose one : </legend>
Your Age :
<p>
<select>
<option>Below 18 years</option>
<option>Above 18 years</option>
<option>Above 40 years</option>
<option>Above 60 years</option>
</select>
</p>
<label>Comments</label>
<textarea></textarea></p>
<input type="submit" value="Click Here to Submit" />
</fieldset>
</form>
</body>
</html>
Please comment if find any problem.

Labels:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home