What attribute allows to define CSS option as a default in the drop-down list?

<select>
   <option>HTML</option>
   <option>CSS</option>
   <option>JavaScript</option>
</select>
Explanation
You can add a selected attribute to define a predefined option.

<option selected>CSS</option>

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback