How to make select mandatory in HTML

select in HTML
The select is used to create a drop-down list in HTML. It is used with HTML forms to collect user data; the user is provided with a list of options to choose from. Here’s an example of a drop-down list created with the select element:
Previous Post Next Post