Consider following code:

   <option selected>HTML</option>
   <option selected>JavaScript</option>
Which option will be shown as default?
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
Sign Up Now
or Subscribe for future quizzes