Help fixing errors on W3C
-
I’ve got some errors while checking my website on W3C, one of those is:
Line 8, Column 46: Duplicate attribute class.<code class="input">…lass="schanger" rel="stylesheet" class**=**"changer" href="http://www.simon-hot-do… Please anybody could tell me how to fix it, thanks Lunita</code> -
The class property is duplicated.
You can only have one class in an href tag.
-
Thanks Steve, but how I can fix it, I'm new and I feel lost.
-
You have these two lines:
| class="schanger" rel="stylesheet" class="changer" href="http://www.simon-hot-dogs.com/wp-content/themes/feast/styles/orange.css" type="text/css" /> |
|| <link class="bchanger" rel="stylesheet"class="changer" href="<a class=" " href="http://www.simon-hot-dogs.com/wp-content/themes/feast/styles/brown.css" target="_blank">http://www.simon-hot-dogs.com/wp-content/themes/feast/styles/brown.css"type="text/css" /></link class="bchanger" rel="stylesheet"class="changer" href="<a> |
|
|You need to edit the files to remove the class="changer" from both. schanger and bchanger seem to be your specific "changer" classes - you can't then say "it's also class=changer" It just doesn't work.
Just sort out those link class codes and you'll be fine.
-
Do you know HTML? If not, the W3C stuff isn't going to be any use to you and you need to hire someone.