Special thanks to:
|
#1
|
|||
|
|||
|
Using Image tag inside H1 tag
Hi,
Is it an acceptable SEO practice to use image tag inside H1 tag? <h1> <img src = "" alt= "" /> </h1> Will search engines treat Alt text of the image as h1 text? |
|
#2
|
||||
|
||||
|
Re: Using Image tag inside H1 tag
I believe Google uses the alt attribute as the text associated with the image, not sure of the other SEs.
What kind of image is this, something like a logo, or text representation to use an otherwise unsupported font for a heading? If it's the latter you might want to take a look at sIFR (Scalable Inman Flash Replacement). |
|
#3
|
|||
|
|||
|
Re: Using Image tag inside H1 tag
thanks for your reply jim.
Actually yes I was trying to use the image in place of the text as H1 font is pixelated and does not look very clean. Do you think using sIFR i wont be facing the aliasing problem? Also is there any drawback of using image tag inside h1? doesnt google or other search engines treat alt text as H1 in this case? |
|
#4
|
||||
|
||||
|
Re: Using Image tag inside H1 tag
Working backwards:
Well, you know, I can see a case for Google and the other SEs not treating it as an H1 rather than regular text as that would really be an easy way to throw a lot of spammy H1s onto a page. I would suppose though they have enough data to tell what's what and simply discount spammy cases when faced with it, and otherwise treating it as an H1. Maybe some other folks have a better take on this. Quote:
|
|
#5
|
|||
|
|||
|
Re: Using Image tag inside H1 tag
In the HTML specification, I don't think an <img> tag is allowed inside an <h?> tag anyway. So your HTML won't conform, and you'll get odd results in different browsers - so you might get a good ranking but your site might look rubbish in some browsers.
|
|
#6
|
||||
|
||||
|
Re: Using Image tag inside H1 tag
They're both inline elements so should be no problem, but just to check, it turns out that <h1><img src="page.htm" alt="test image"></h1> validates fine.
|
|
#7
|
||||
|
||||
|
Re: Using Image tag inside H1 tag
yeah but the emphasis of the h1 tag would not increase the imapct of the image link IMO
|
|
#8
|
||||
|
||||
|
Re: Using Image tag inside H1 tag
Quote:
<h1 id="logo"><img alt="The World Wide Web Consortium (W3C)" height="48" width="315" src="/Icons/w3c_main" /></h1> - http://www.w3.org/ Hope that helps and best of luck! ![]() -Brian |
|
#9
|
||||
|
||||
|
Re: Using Image tag inside H1 tag
nice find brian
|
|
#10
|
||||
|
||||
|
Re: Using Image tag inside H1 tag
thanks man, all luck though! One of those silly "SEO Trivia Questions" that you never expect to be asked.
|
|
#11
|
|||
|
|||
|
Re: Using Image tag inside H1 tag
I don't see its valuable usage.
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Finding the right image | Discovery | Search Engine Advertising | 1 | 01-23-2008 05:29 PM |
| Question on Image Map - what choice would you make? | fromtherooftops | Search Engine Optimization | 15 | 12-22-2007 12:51 AM |
| Image search reranking based on automatic image tagging | nullho | Search Technology & Relevancy | 0 | 11-27-2006 05:46 PM |
| Image ALT Tags Optimization | vistadivine | Search Engine Optimization | 6 | 08-10-2006 06:45 PM |
| Is there ROI in Image Search? | rustybrick | Web Analytics & Tracking | 5 | 09-05-2004 07:03 PM |