in the page http://www.w3schools.com/CSS/css_text.asp we have:
For W3C compliant CSS: If you define
the color property, you must also
define the background-color property.
It doesn’t make sense to me at all, does anyone know if this is verified?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Actually, it’s defined in the spec for color contrasts
http://www.w3.org/TR/WCAG10-CSS-TECHS/#style-color-contrast
This is there to ensure that you define a high contrast background color if you define a foreground color. Whether you do so or not depends on the colors you use. Make your page accessible