Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Заголовок документа</title> <style> option:disabled { background: #8ebf42; } </style> </head> <body> <h2>Пример селектора :disabled</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>