Source Code:
Volvo
Saab
Mercedes
Audi
Note:
The required attribute is not supported in any of the major browsers.
Result:
W3Schools.com
- Try it yourself