HTML and CSS Reference
In-Depth Information
first “r” in the
background-color
property. Remove the
#
from the
color
property
value. Save the file.
Next, attempt to validate the color.css file. Visit the W3C CSS Validation Service page
at
http://jigsaw.w3.org/css-validator
and select the “by File Upload” tab. Click the
Browse button and select the color.css file from your computer. Click the Check button.
Your display should be similar to that shown in Figure 3.19. Notice that two errors
were found. The selector is listed followed by the reason an error was noted.
Figure 3.19
The validation results
indicate errors
Figure 3.20
The valid CSS is
displayed below the
errors (and warnings,
if any)
Search WWH ::
Custom Search