Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> </head> <body> <h2>Select box with a placeholder</h2> <select name="drinks" required> <option value="" disabled selected>Choose a drink</option> <option value="coffee">Coffee</option> <option value="tea">Tea</option> <option value="milk">Milk</option> </select> </body> </html>