Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

When I try to use the W3C CSS validator on my Week 5/embedded styles assignment, I am getting strange validation errors on codes I am sure are correct. What could the problem be?

0
Posted

When I try to use the W3C CSS validator on my Week 5/embedded styles assignment, I am getting strange validation errors on codes I am sure are correct. What could the problem be?

0

It sounds like you are trying to validate an embedded style from your hard drive instead of from an online URI. That version of the CSS validator is looking for CSS styles only. [What it is looking for will become clearer in week 6’s lesson.] Any standard HTML coding will generate errors, even if it is totally correct. To check embedded styles on your pages, either go ahead and upload the page and check the online version, or make a copy of the styles only [no html coding] and paste it into the text area box at the W3C validator. And as always, remember that you will need to check your HTML coding with the HTML validator. Pages using CSS always need to go to both validators and have corrections made before posting to the class message board for review.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123