This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Validator indicates an error for embedded style sheet OR styles that refer to the attribute background-color: Sample Error Message: Line 7, Column 22: end tag for "style" omitted, but OMITTAG NO was specified . body{background-color: Sample Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>Week 3 Programming Assignment 1</title> <style type="text/css"> body{background-color:#ccc; color:#000; font:11px/16px Verdana, Arial, Helvetica, sans-serif;} col.labels{background-color:#e0e0e0; color:#000; padding:6px 0 3px 3px;} col.data{background-color:#fff; color:#000; padding:3px 0 3px 3px;} </style> </head> <body> ... </body> </html>
Can't reproduce. The sample code you pasted validates just fine.
Created attachment 690 [details] source of my page try this url http://myportal.regione.veneto.it/opencms/comune.act?dir=/opencms/opencms/CMA/Agordo/ via "validate by uri" and you get the same error, if you try to do a validate by source, not. So please reopen this bug.