Languages
[Edit]
EN

HTML - select / option / combo box example

11 points
Created by:
Marley-Marks
712

Using HTML it is possible to create select field (combo box controll) in few ways.

1. select element example

Edit

2. select element with default selected option example

Edit

Note: Banana fruit has been selected by default because of used selected attribute.

3. select element with grouped options example

Edit

In this example optgroup elemnt usage has been presented.

4. select element with disabled option example

Edit

5. select element with custom styles example

Edit

 

1
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.

HTML

Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join