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>
-
Do you know HTML? If not, the W3C stuff isn't going to be any use to you and you need to hire someone.
-
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.
-
Thanks Steve, but how I can fix it, I'm new and I feel lost.
-
The class property is duplicated.
You can only have one class in an href tag.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Are Old Backlinks Hurting Or Helping?
I have a ton of old backlinks for products that I no longer carry but I have redirected them to other pages within the site. I was told by an SEO expert that these links are hurting me rather than helping because people click on the links and then leave. These backlinks are from reputable blogs, news sources etc and my spam score is only 1%. Are these links really hurting me?
Link Building | | CatBoxer0 -
Will links from startup/tech blogs help a site rank for *money* keywords?
If a startup has a tech blog (say, domain.com/tech) and a startup journey blog (on domain.com/journey — think groovehq.com/blog), will garnering high PA/DA links to those pages help the root domain rank for keywords related to the startup's services? For example, continuing the Groove example, will quality links to their aforementioned startup blog help them rank the homepage for Online Help Desk Software? Even when those links are from non-helpdesk content on non-helpdesk sites? My theory is that links from high DA sites won't be a bad thing — as long as they're not from spammy pages and done naturally. In some niches, where it's hard to get organic product-related links, this might be a worthwhile strategy. Am I right? Or sadly misguided...? 🙂 EDIT: BTW. The niche I have in mind is fairly uncompetitive, and it'd be easier to garner links from the startup/tech community than the niche community itself.
Link Building | | brandrsn1 -
Need help for SEO
After Penguin 5 what are the major changes in onpage that is necessary and what are the best techniques for link building?
Link Building | | Chirag7530 -
Title Tag Keyword Help
Hi I had a general question? How many Keywords should I be targeting per Title Tag? I usually use 1-2, and maybe a brand name. I just want to make sure i'm doing it right thanks. Peter
Link Building | | PeterRota0 -
Content Calendar Help
Hey guys, I am about to start creating a content calendar that I will be using to pitch blogs and news websites with the goal of gaining a link and driving traffic to my site. Do you guys have some bookmarked links that can help me follow a step by step process on how to develop a content calendar? I'm looking at something like what tools to use, how to figure out what's hot in a particular niche, social media topics, etc. Thanks in advance!
Link Building | | Workaholic0 -
Backllinks to our site but via redirect (still SEO helpful?)
Hi, A large website may link to us but via their internal redirect mechanism. So it would be somthing like this: [If you select the link, it eventually goes to our site but not from the original page. These links would be placed on lots of pages, but since they would all "pass through" the "redirect" page, it seems not as beneficial from an SEO perspective. Is this reasoning correct? Would google still follow the link and see where it ends up, even though it is via multiple pages? Ideally I'd prefer direct link but how much better is it than the redirect as listed above?](/redirect/rd?site=www.oursite.com/page&trackingparam=111111)
Link Building | | NicB10 -
Helpful or Hurtfull / Distributor Links to Our site on every product page?
We have a distributor site with a page rank of 3 on its home page, and 0-1'ish on its product pages. While our manufacturing site is PR 4 getting close to 5... We are thinking about adding a link from our distributors product pages to our manufacturing appropriate material information page. This would be about 10k links spread out among 7 materials. We want to add these links to help our distributor sites customers, but we don't want to hurt our manufacturing site in the process. I personally don't know of any problem this would cause, but our manufacturing site is so important I need to verify adding this many links wouldn't hurt us. Your thoughts and knowledge is appreciated.
Link Building | | donford0