Question: html select how to set selected value?
Answer: The select tag in HTML is used to create a dropdown list of options which can be selected. The option tag contains the value that would be used when selected. The default value of the select element can be set by using the 'selected' attribute on the required option. This is a boolean attribute.