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
-
Need Help with Link Building Outreach Program
Hello Follks, We are a B2B company, and we are planning for a link building outreach program with Tier-2 and Tier-3 tech publication sites. Are there any SEO agencies who can help us only with the Link Building service? Please let me know. I can provide more details once we catch up. Thanks!
Link Building | | Rajesh.Nair0 -
Exact Domain Match does it help or distract?
Does owning / buying an exact domain match help or not necessary? For example our main website ranks for nearly 14,800 Keywords but one KW we are trying to get in the top spot for we are currently at the bottom of page #1. We do see an exact domain match available so we purchased it but i don't know if it would actually help us or distract us. I was thinking we could create an article about the keyword on that exact domain then do some on page seo and back linking. But would that be more of a distraction VS. just focusing on getting more high quality back links to the main website we have ranked on Page 1 at the bottom? Any ideas or benefits to use an exact domain match to help boost also?
Link Building | | Cfarcher0 -
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 -
Does adding relevant keywords to social postings help with SEO?
I was doing some research on social postings and SEO and couldn't really find the answer to my question. Would adding in SEO keywords help with my site's relevancy or would it just help boost my site because of backlinking? For example if I were to add a new Facebook post "Check out these great new blue widgets " help more than "Check out these new products "? Thanks!
Link Building | | EmazingKatie0 -
Link building external trusted help out there?
Hi there guys and Girls, I am a newbie to the seo world but learning quickly. Unhappy with seo services offered for startups I have taken on the role myself for my website. I think so much of what can be learnt online here I can implement myself with a few hours of work each week. So my dilemma! I have lots of ideas of for content which i know will be valuable and I was considering outsourcing just for link building (the long haul work) The trouble is I am wary of who to use and if such service is out there? I have tried searching on o'desk and freelancer etc but I guess i am too frightened of spammy links or postings on irrelevant sites. I guess initially I am looking for someone who can help my link building campaign whilst I build up my own blogging contacts etc. Does anyone know if these types of services exist? and if any are recommended for small companies? Thanks Michelle
Link Building | | nutjobshell0 -
How to fix algo penalty
I believe I've received an automatic penalty for over optimization so my question is --- instead of removing or changing the anchors of inbound links can i get an automatic penalty removed simply by adding more links to make the profile appear more natural? The site only has about 30 domain level links pointed at it now
Link Building | | jmckiernan86_gmail.com0 -
Is this going to help for Linkbuilding
I am not able to do link building from like minded websites. Hence I am planning to go for following approach : By creating links to my website on blogspots (using comments).
Link Building | | ArtiKalra
Participating in question / answer forum on the websites meant for r asking questions for different categories.
Writing articles on good ranking websites and creating links.
Participating in Social media websites Please let me know if this will help me. Any other possible way apart from these?0 -
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