hi!!!!
can anybody help me.,.how to tag a drop down in my navigation?because I dont know how to insert it to my html.,.


heres my homepage:

<html>
<head><title>mysite</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>

<body>
	<div id="wrapper">
		<div id="banner"></div>
		<div id="navigation">
			<ul>
				<li><a href="home.html">Home</li></a>
				<li><a href="profile.html">Profile</li></a>
				<li><a href="gallery.html">Gallery</li></a>
				<li><a href="relation.html">Relations</li></a>
			</ul>
</div>	
		
		<div id="search"><input type="text"></div>
		<div id="text"><font size=5>Search</div>
		<div id="button"><input type="button" value="ok" name="button"></div>
		<div id="body"></div>
		<div id="sidebar">


</div>
		<div id="pix"></div>



</div>



</body>
</html>

The <select> tag is used to create a select list (drop-down list).

The <option> tags inside the select element define the available options in the list.

Optional Attributes
Attribute Description
disabled Specifies that a drop-down list should be disabled
multiple Specifies that multiple options can be selected
name Specifies the name of a drop-down list
size Specifies the number of visible options in a drop-down list

Event Attributes

The <select> tag supports the following event attributes:

Event Attributes

The <select> tag supports the following event attributes:

Attribute Value Description
onblur Script to be run when an element loses focus
onchange script Script to be run when an element change
onclick Script to be run on a mouse click
ondblclick script Script to be run on a mouse double-click
onfocus Script to be run when an element gets focus
onmousedown script Script to be run when mouse button is pressed
onmousemove script Script to be run when mouse pointer moves
onmouseout script Script to be run when mouse pointer moves out of an element
onmouseover script Script to be run when mouse pointer moves over an element
onmouseup script Script to be run when mouse button is released
onkeydown script Script to be run when a key is pressed
onkeypress script Script to be run when a key is pressed and released
onkeyup Script to be run when a key is released

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.