# 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
-
Social engineering Content detected
Hi there I am Facing Social Engineering Content Detected on www.domain.com from long time, we have Removed All Bad Java script, unnecessary links, bad content. After removing we Did Review also in Google, But still again & again we are getting this Notification in webmaster, is This harmful for Our web traffic?? how do I permanently Clear This Notification ? please any body can help ? Thanx in advance
On-Page Optimization | | iepl20 -
Can Google read this code?
I'm working on some basic on-page SEO content for a website within my company and I need some guidance as far as 1. whether Google can read the small amount of existing text (not optimized) and if it isn't spiderable, then 2. what code should be there instead. Here is the site: https://www.le-velgear.com/store/catalog The text I'm referring to is toward the bottom of the page (isn't it always?) and says this: Designed for a Thriving Lifestyle The Le-Vel Gear store is an extension of the LV Life, the Thrive product line, and the world's largest health and wellness Movement, which you helped create. Living a life you deserve includes looking good while showing the world your pride in being a Thriver...Check out all the new and incredible gear and tools and take your Thriving lifestyle to the next level!!! When I "View Source," I cannot see the text, however, the text is highlight-able with my cursor and I can see it when I "Inspect Element" in a container that says Thanks in advance for any help!
On-Page Optimization | | lizzyr0 -
Should I Use A Code For Last Updated Blog Posts
Hi, I have a quick question about updating blog posts. When I add "Last Updated" to an updated post should this be in any particular type of code or simply just text, perhaps with the tag? Thanks An Advance
On-Page Optimization | | KNpaul0 -
W3C code errors
HI GUYS I tried to check my website http://musicanueva.es with W3C but I have 1 problem to fix (here is an image: http://www.imagebam.com/image/cc1a3b275215931) any idea to fix this issue??? don't know what to doooo
On-Page Optimization | | direttore20 -
Html and css errors - what do SE spiders do if they come across coding errors? Do they stop crawling the rest of the code below the error
I have a client who uses a template to build their websites (no problem with that) when I ran the site through w3c validator it threw up a number of errors, most of which where minor eg missing close tags and I suggested they fix them before I start their off site SEO campaigns. When I spoke to their web designer about the issues I was told that some of the errors where "just how its done" So if that's the case, but the validator still registers the error, do the SE spiders ignore them and move on, or does it penalize the site in some way?
On-Page Optimization | | pab10 -
Detecting SE traffic on a landing page
Hi all, I am trying to optimize our landing pages in order to getting new visitors to make an action instead of leaving. But in order to so, I need to be able to identify when a user comes from a Google search and when a user does not. Can anyone help me? The site is written in PHP. Best regards, Rasmus
On-Page Optimization | | rasmusbang0 -
What is a better mobile domain from an SEO perspective an m.example.com or using your regular domain with user agent detection?
Just wondering what domain is more beneficial for a mobile site and why.
On-Page Optimization | | CabbageTree0 -
Developer comments in code & SEO
A client of mine has provided an SEO report that states:- "The inclusion of comments by developers in the coe is common practice..... ....its is not positive to leave large blocks of code in the site as makes crawling difficult to crawl" Im thinking that this has no SEO import at all, any one come across this? Thanks z z1eEy
On-Page Optimization | | zabba0