What happens when you put an image in an H1 tag?
-
I am currently updating some H1 tags for my site but the tags are generated automatically by the text that is entered into a field on our content manager software. However because we need an image in this area as well, the entire field including the code for the image is surrounded by an H1 tag.
Is this bad for SEO?
-
Thank you Dan (and Bill).
In SEO talk, everything seems to boil down to getting ranked, but the more important thing, I've always thought, is helping readers (and the search engines) to understand what the page is about - but almost nobody talks about that.
-
In general its bad practice to put images in the H1. This doesn't mean if you just stuff a few keywords in them that you'll rank better either. But the Header tags are meant to hold text - text that accurately describes to the reader what they should expect to see below the header.
Bill's article on headers is fantastic.
And the original source from w3.org says:
"A heading element briefly describes the topic of the section it introduces...." - basically that it's meant for text. Source
So as Bill says, if you correctly set up a semantic relationship between the title, headers and content on the page, you can help users and engines understand what the page is "about" and thus rank better in that sense.
Hope that helps!!
-Dan
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
-
Does google look at H3 tags?
I've had someone tell me that google doesn't pay attention to H3 tags -- only H1 and H2. I haven't found much online to back this up or discredit it; thought I'd ask the Moz community!
Technical SEO | | LivDetrick5 -
Updating product pages with new images - should I redirect old images ?
Hello,
Technical SEO | | ninjahippo
We have approx 900 products on our website. Over the coming months we will be replacing the product images. At the moment they have file names like 'green_widget_54eb3a78620be.jpg'
the random jumble at the end of the filename was apparently to keep file names unique. We have removed the jumble part and will have file names like:
'black_widget_with_stripe_001.jpg' The CMS removes the old main image when a new main image is uploaded. But we could change this to leave the old image, but not use it. My question is should we: redirect the old file name to the new file name? upload the new image, and leave the old image in place Or do we just ignore.0 -
Same H1 & H2 Tags
Is it bad to have the same H1 & H2 tag on one page? I found a similar question here on the moz forum but it didn't exactly answer my question. And will adding "about" on the H2 help, or should we avoid duplicate tags completely? Here is a link to the page in question (which will repeat throughout this site.) Thanks in advance!
Technical SEO | | Mike.Bean0 -
Images on sub domain fed from CDN
I have a client that uses a CDN to fill images, from a sub domain ( images.domain.com). We've made sure that the sub domain itself is not blocked. We've added a robots.txt file, we're creating an image sitemap file & we've verified ownership of the domain within GWT. Yet, any crawler that I use only see's the first page of the sub domain (which is .html) but none of the subsequent URL's which are all .jpeg. Is there something simple I'm missing here?
Technical SEO | | TammyWood0 -
Are Tags in Blogs good?
Hi Is adding tags into Blogs a good idea? Does it help with SEO at all? For example blog/?tag=/Invoicing-Software Will that help us get ranked for Invoicing Software? Regards Andrew
Technical SEO | | Studio330 -
Google changing title tags to branded
Hi guys and gals, i noticed in the results today Google has been changing my title tags so that brand: is in the front of it all. This is not in the code but my title tag structure site-wide is keywords and then always | brand on the end. Why has this happened does anyone know? does it affect my first keyword in the title tag, i guess Google might do it as it recognises the brand and wants users to know it?
Technical SEO | | pauledwards0 -
Can the Breadcrumb Trail be used as the H1 tag?
We hace recently discovered that the x-cart sites we have dont have H1 tags. Can the breadcrumb trail on the category and sub category pages be used as the H1 tag?
Technical SEO | | heathshowman0 -
Changing image path of the whole domain
Hi together, we are using a CDN for delivering static images. Due to some changes we want to change the path for images for the whole domain. like: images.example.com/old/var/test.jpg to images.example.com/new/var/test.jpg Does anyone know what could happend to SERPs? (old path will be available) Best regards Steffen
Technical SEO | | steffen_0