# code not detected
-
Hi guys, my H1 code is like but Yoast SEO and Google Page Speed keeps saying that i do not have a H1 tag in my website, Is my code wrong?
Keyword | Keyword2
-
You have a inside the
but not thethat it is closing. That is just to start. The rest of that code needs cleanup and is mostly unnecessary--you wouldn't need two spans; the letter-spacing has no value, etc.
What is best is to properly define the h1 in the CSS and then use
Your Page Title
.
If you need to modify the h1 (maybe it is defined for a group of pages and on this particular page you want something a little different), do it as simply as possible. (The span attributes in your example probably would not do anything, assuming a white background, though that depends on how the class google-mixed, is defined...)
-
Can you provide the URL?
Grobro is most likely right. If you have an opening
tag before your
tag, the closing
should be after your closing .
-
I am pretty sure it has to with the
tag, try the W3C Tool: http://validator.w3.org/#validate_by_input
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
-
What is the correct code to write the rel=canonical in the HTML HEAD of the page?
is it like: html> <head> <link rel="canonical" href="http://example.com/" /> head> <body> ...<ref>sdfdfref> or like:
On-Page Optimization | | dubraverd0 -
Does blogging with a wysiwyg negatively affect SEO (vs. hand coding)?
Many bloggers use a wysiwyg editor to write posts. Are there any drawbacks to wysiwyg vs plain text? When I write blogs I prefer to hand code my text to be sure everything is optimized. My feeling is that wysiwyg leads to code bloat and generally fewer optimization opportunities. I have no real evidence. Is there any reason not to use the wysiwyg editor?
On-Page Optimization | | Jason-Rogers0 -
Site is too slow? Seeing a new code.
Site is too slow. I am seeing this new code more than 1000 times in my home page- What should I do now? My site- http://a1stlucie.com/
On-Page Optimization | | Beachflower0 -
How to check code to text ratio of Mobile Site?
Hello All, How to check code to text ratio of Mobile Site? Thanks!
On-Page Optimization | | adamjack0 -
Sudden drop in ranking for important keyword? No penalty / other issues detected
Hi For our site we previously ranked well for the term "botswana safari holidays" on the page: http://www.naturalworldsafaris.com/destinations/africa-and-the-indian-ocean/botswana.aspx We've suddenly seen a dramatic drop for this term, currently ranked #43 on Google UK. There are no penalty notices in Webmaster tools and the only edits to the page recently have been to include the term "Botswana safari holidays" in the page title and the on-page h2 (previously Botswana safaris and holidays). Any suggestions why we have seen a large decrease for this term? We expect to see some fluctuation but this one seems a bit dramatic. We've not lost any backlinks to the page that we know of. Thanks for the help.
On-Page Optimization | | KateWaite0 -
Meta Title in Google does not match the HTML meta title I have coded in a site
I have a client site that is pulling a meta title that is not in his code. I am using Yoast for the titles and descriptions on this site. Not 100% sure why Google is not listing the title we have in place. Could the code be pulling from somewhere else? Is there a fix for this?
On-Page Optimization | | Bryan_Loconto0 -
Does Commented HTML Code Get Spidered?
I have a change, perhaps temporary, to my web store that I will be making. I am wondering if the code that I will comment out () gets spidered?
On-Page Optimization | | lbohen0 -
Google Webmaster Tools notice of detected unnatural links
Hi Has anybody else ever recieved this message from Google in Google Webmaster Tools and what action did you take to overcome the problem and get your position back - Dear site owner or webmaster of............... We've detected that some of your site's pages may be using techniques that are outside Google's Webmaster Guidelines. Specifically, look for possibly artificial or unnatural links pointing to your site that could be intended to manipulate PageRank. Examples of unnatural linking could include buying links to pass PageRank or participating in link schemes. We encourage you to make changes to your site so that it meets our quality guidelines. Once you've made these changes, please submit your site for reconsideration in Google's search results. If you find unnatural links to your site that you are unable to control or remove, please provide the details in your reconsideration request. If you have any questions about how to resolve this issue, please see our Webmaster Help Forum for support. Sincerely, Google Search Quality Team
On-Page Optimization | | AMG1000