Give your Comment

CurrentGK -> Website Development -> HTML -> Drop-down List With A Pre-selected Value

If you find this context important and usefull. We request to all visitors to sheare this with your friends on social networking channels.

Drop-down List With A Pre-selected Value

Drop-down List With A Pre-selected Value

Drop-down list with a pre-selected value

<html>
<body>

<form action="">
<select name="cars">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="fiat" selected="selected">Fiat</option>
<option value="audi">Audi</option>
</select>
</form>

</body>
</html>

output----------->>>>>>

Volvo Saab Fiat Audi




Tags

19 Oct, 2018, 18:25:14 PM