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 -
Fixing broken links from old domain
Howdy Mozfans, I am fixing some broken links and I was wondering if someone could help me out. Multiple old domains (www.olddomain1.com, www.olddomain2.com and so on) have been migrated to www.currentdomain.com/olddomain1 and www.currentdomain.com/olddomain2 over a year ago. The old domains redirect to the current domain but we found that a lot of those were redirecting to 404 pages at the current domain. We now redirected all URL’s that were on the old domains correctly. Will those redirects ever get indexed (and passing linkjuice) since the old domains haven’t been used for such a long time? If not, would it be a good idea to redirect the 404 pages on the current domain (that were a result of the previous redirects)? Thanks in advance!
Link Building | | SEO-Bas0 -
External Ranking Help
Hello, I am working on the following website: completesteamclean.ca and I have reached a plateau on how to increase my ranking to defeat my two top competitors. When I run competitive link metrics it would appear that where I seem to be lacking is in external links and linking root domains. Does anyone have any tips on how I can build these areas of the website? Any insight would be greatly appreciated! Thank you!
Link Building | | MainstreamMktg0 -
Help on Link Building
Hi, Recently I've dropped two points on my Root Domain Authority for smallhope.com. Not really sure why. I've done as much on page optimisation that I can think of, but what I would really like some help on is Link Building. If this was your domain what would you do specifically and start link building. I've read a ton of stuff but I just dont seem to know a way to begin. Can you offer me any advice? I've dropped 20% in traffic in the last 8 months. Hope you can help, Adam
Link Building | | NaescentAdam0 -
A few questions I need help with and would appreciate any help.
I am currently building links to our website via estalished blogs ect (2+ years old), As far as I understand even if they are unrelated to what we do (print) as long as the post is about print the link should offer some value is this correct? Other questions I have which I would greatly appreciate advice in are as follows........ (1) Do charity websites or company websites with link pages ( about5-10 other links) or links / logo's on the front page offer value even on unrelated sites? (2) What happens if 80% of the link building I am doing comes from blogs? (3) If I have links that are clearly spam that have been built to our site can they be damaging our potential to rank and how can I remove them as I have tried to contact the relevant parties but fear pressing the button on the google tool may harm our site should I? (4) If I have a page that genuinely has a lot of mentions of a keyword (not so much the money keyword but part such as wanting to rank for pool table but end up with the different versions of keywords having table mentioned 5 - 10% of the time). Thank you for your time.
Link Building | | BobAnderson0 -
Do sub-domains help overall domain ranking?
If I have a blog at (for example) blog.mywebsite.co.uk (hosted on Wordpress), does this confer rankings to the top level domain (e.g. www.mywebsite.co.uk which we host ourselves)? Contained within the blog are many links to the main website (which is an eCommerce website) for all our key phrases, but it seemed like a good idea to keep the blog and the store separate. Alternatively, would it be better to use something like www.mywebsite.co.uk/news? Thanks! Alex
Link Building | | reddogmusic0 -
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