Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> option:enabled { background: #666; } </style> </head> <body> <h2>:enabled selector example</h2> <select> <option value="paris">Paris</option> <option value="london" disabled>London</option> <option value="moscow">Moscow</option> <option value="rome" disabled>Rome</option> <option value="berlin">Berlin</option> </select> </body> </html>