Reputation: 69
I have the property declaration h3 {color:#333;}
in my CSS file. When I check my CSS file in https://validator.w3.org, it shows
character "h" not allowed in prolog.
What's the problem with my h3 tag? What is the meaning of "prolog"? Can someone explain it?
Upvotes: 1
Views: 5140
Reputation: 92843
For CSS check in this https://jigsaw.w3.org/css-validator/ instead of this https://validator.w3.org/
Upvotes: 1
Reputation: 449753
https://validator.w3.org/ is for validating HTML only.
You are looking for http://jigsaw.w3.org/css-validator/
Upvotes: 9