Img before or after h1 tag?
-
I like images to align right at top of content page. img tag before h1 tag looks better on page, but wondering if h1 tag before img tag is preferred by spider. Irrelevant? or possibly matters? thanks for any thoughts.
All about Stuff
or
All about Stuff
or even
All about Stuff -
Bots can burn through script... I don't think an extra line is really a speed bump.
.. but yes... always fun to test things.
-
yeah it's a tiny point but I'd be interested in results of any test too. I think if h1 is one of the very first things on page, don't add anything like an image above it. however I have so many lines of scripts and divs and lists with mouseovers that what's one more line of code.... since I like the slightly higher position of the image when place img before h1. Focusing on content creation, and just want to set a guideline for myself on a detail like this and move on. Thanks much!
-
I agree with Thomas, there is not much of a difference here, and if we look a little further into the future, in the HTML5 structured data every section can have an H1 tag.
So I would advice to put the image where ever looks best for the user, add that alt tag and keep the image put of the H1 for sure.
-
I really don't think it will make that much of a difference. I think the real tipping point in image optimization, other than content of the webpage, is the title and alt tags. So your example should be
But if I had to guess... The images relevancy is probably most closely associated with the surrounding text. So I would error on the side of putting it after the H1.
-
I think that's a great idea Heather. When can we expect that report?
-
I would be interested to see whether anyone has done any experiments or had any experience of this effecting search engine positions.
I would say that as long as the H1 appears near the top of the page before any
oretc, so that the markup is correctly formatted as the W3C guidelines state, then it shouldn't really matter. But I could be wrong.
-
The second option would work best. The contents of the H1 and other heading tags, matter a lot when optimizing a page for specific keywords. The tag should not contain images and should appear before anything else on the page.
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
-
Can Title Tag be seen in the page source, but not seen by search engines?
This is a follow up question derived from a previous question I posted - http://moz.com/community/q/does-title-tag-location-in-a-page-s-source-code-matter There have been several reputable crawl tools used on our (including Moz) site that state we are missing title tags on may pages. One such page is http://www.paintball-online.com/Paintball-Guns-And-Markers-0Y.aspx I can see the title tag on line 238 of the page source. I find it unlikely that there is an issue with the crawl tools. Any thoughts would be greatly appreciated. Nick
Technical SEO | | Istoresinc0 -
Changing the Title Tag But It Does Not Reflect In Google Results
I have changed the page title for www.finanscaddesi.com to read as "Finans Caddesi | Paranın Pusulası" (as you can see from the source code) But Google still shows the old version. I have checked Google's guidelines regarding page titles. They say if we find a reference anchor text that is linking to the page (such as a DMOZ entry) we may use the anchor text as page title. I wonder whether there is a method I can follow to change the title tag to appear as "Finans Caddesi | Paranın Pusulası" in Google search results. Thanks in advance!
Technical SEO | | merkal20130 -
Html Improvements Missing title tags
Hi, Webmaster suddently today i could see 100's of posts showing title tags are missing Html Improvements Missing title tags https://www.google.com/webmasters/tools/html-suggestions?hl=en&siteUrl= Please see image Can anyone help on why this happened suddenly and what is this and whats the solution http://imgur.com/zHsXVJN Thanks
Technical SEO | | mtthompsons0 -
How to test a geo tagged homepage?
The e-commerance system we have has a geo tagged hompage system so you can set up different homepages based on the user country IP. But I want to test what the default homepage is, if the system can not get the user IP, does anyone know of a way to do this? Also does googles bot, not give an IP for this, or is it always an American IP (even if your site is set to a different country)? Thanks
Technical SEO | | PaddyDisplays0 -
After I 301 redirect duplicate pages to my rel=canonical page, do I need to add any tags or code to the non canonical pages?
I have many duplicate pages. Some pages have 2-3 duplicates. Most of which have Uppercase and Lowercase paths (generated by Microsoft IIS). Does this implementation of 301 and rel=canonical suffice? Or is there more I could do to optimize the passing of duplicate page link juice to the canonical. THANK YOU!
Technical SEO | | PFTools0 -
H1 - site name or page title?
Hi all, I have always used h1 tags for the site name and then h2 tags for the page title, thus: Bob's Chunky Bacon Store Smoked Bacon Bacon bacon bacon bacon etc... My reasoning for this is I believe it is semantically correct. The h1 represents a book's title and the h2 the name of a chapter. I seem to have read, in a few places, that my h1 should be the page title: Bob's Chunky Bacon Store Smoked Bacon Bacon bacon bacon bacon etc... From a SEO view, which of these is the better approach? Thanks in advance for any input.
Technical SEO | | jimneath0 -
Multiple H1 tags on same page
Hi Mozers I have a doubt regarding H1 tags. I know H1 tags will not give some special SEO value. But is there any issue if we are using multiple H1 tags on a same page? For example on the seomoz.org blog home page I saw 16 H1 tags (seomoz.org/blog). Is that ok to use like that? Can I completely ignore all my worries about H1 tags?
Technical SEO | | riyas_heych0 -
For Google + purposes, should the author's name appear in the Meta description or title tag of my web site just as you would your key search phrase?
Relative to Cyrus Shepard's article on January 4th regarding Google's Superior SEO strategy, if I'm the primary author of all blog articles and web site content, and I have a link showing authorship going back to Google Plus, is a site wide link from the home page enough or should that show up on all blog posts etc and editorial comment pages etc? Conversely, should the author's name appear in the Meta description or title tag of my web site just as you would your key search phrase since Google appears to be trying to make a solid connection with my name, and all content?
Technical SEO | | lwnickens0