-->

HTML page to create drop down box with values.

We can take following example to understand this.
--------------------------------------------------------------------------------------------
<html><!--starting tag of html-->
<head><!--used for meta tag-->
<title><!--used for title of page-->
form concept
</title>
</head>
<body><!--is container-->
form <br>
<form><!--form tag-->
<select size="1">
<!--creates a box of size 1-->
<option>teacher</option>
<option>student</option>
<option>Parents</option>
<!-- it pust the list in that created box-->

</select><!--closing of select-->
</form>
</body>
</html>

No comments:

Post a Comment