Consider following code:

<select>
   <option selected>HTML</option>
   <option>CSS</option>
   <option selected>JavaScript</option>
</select>
Which option will be shown as default?
Explanation
In case several items defined with selected attribute, the the last selected item in the list will be predefined option.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
HTML & CSS quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes