This Blog is for HTML Tutorials.

HTML Logo

HTML FORM Create Select Option

<select > </select> is a element but in this element we insert some option.

The content between opening <option>  and closing </option> tags is what will be displayed in browser.

The value attribute specifies the value sent to the server when a form is successfully submitted.

we can also select multiple options with the help of multiple attributes.

<select id="____" name="___" multiple>


Example: 



<select id="eligibity" name="eligibity" >     <option value="highschool">10th</option>     <option value="intermediate">12th</option>     <option value="graduate">graduation</option>     <option value="post graduate">post graduation</option>   </select>




<select > <option></option> <option></option> <option></option></select>


 Previous page next page

Post a Comment

4 Comments