Image in h1

This is a discussion on "Image in h1" within the Web Page Design section. This forum, and the thread "Image in h1 are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Dec 12th, 2006, 20:16
Reputable Member
Join Date: Sep 2006
Location: Rothwell
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Question Image in h1

Hi guys,

Does it matter for SEo if i use image as <h1>? Is it good or bad?

Thank you for your help
Reply With Quote

  #2 (permalink)  
Old Dec 12th, 2006, 20:27
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Image in h1

Here's the best way to go about it. Using CSS of course. And for reference, you should always have just one h1 tag per page.

Code: Select all
<h1>Your Page Title</h1>
Code: Select all
h1 {
    width: 200px;
    height: 60px;
    margin: 0;
    text-indent: -5000px;
    background: #fff url("logo.jpg") no-repeat 0 0;
    display: block;
}
Reply With Quote
  #3 (permalink)  
Old Dec 12th, 2006, 21:08
Reputable Member
Join Date: Sep 2006
Location: Rothwell
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Image in h1

Thank you Ryan! i dont know what i would do without you! Should i also close the page with <h6>?
Reply With Quote
  #4 (permalink)  
Old Dec 12th, 2006, 21:18
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Image in h1

No! In case you don't know, you should never skip a header number. Your page be organized in a way something like this:

Code: Select all
<h1>
    <h2>
        <p>
        <p>
    <h2>
        <p>
        <h3>
            <p>
            <p>
    <h2>
        <h3>
            <h4>
                <p>
                <p>
    <h2>
        <p>
You should never go from h1 directly to h3, however. And you may only use an h1 and an h2 in a page. I rarely ever get all the way down to h6.
Reply With Quote
  #5 (permalink)  
Old Dec 13th, 2006, 11:05
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Image in h1

Just a quick thought here. If you were going to use an image in the h1 spot, I would try to name the image with a keyword or keyword phrase.
Reply With Quote
  #6 (permalink)  
Old Dec 13th, 2006, 11:17
Reputable Member
Join Date: Jul 2006
Location: Scotland
Age: 22
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Image in h1

Ichad - I wouldn't use any image in h1 unless it was a background image from the css.
I've been taking the policy of making my heading text 1% size, which works okay, if you can have a black dot somewhere in the picture...

Ryanfait - how strictly do you stick to the heading sequences rule, and how in sequence do you feel they have to be... For instance, recently on a site I wanted:
Code: Select all
H1
  H2
    H3
  H2
    H3
      H4
      H4
  H2
    H4
or something to that effect - is that okay? I know it's not a strict rule, but I like to stick to standards, and it bugs me when the standard's are vague!

"Some people consider skipping heading levels to be bad practice. They accept H1 H2 H1 while they do not accept H1 H3 H1 since the heading level H2 is skipped."
Thanks very much the w3c! hehe

So I'd like you'r input on what's right!


Snow
Reply With Quote
  #7 (permalink)  
Old Dec 13th, 2006, 13:56
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Image in h1

First off, snow, I have text-indent: -5000px; to hide the text. While a black dot doesn't hurt anything in most cases, there's nothing left over unless you have a 5000 pixel long string of text with the negative indent method

As for the order, I think you're thinking more in terms of design, not structure. I firmly believe in the three layers of a website:

XHTML - The Structural Layer
CSS - The Presentation Layer
JavaScript - The Behavioral Layer

They should all be kept completely separate. If you've got a site with no design at all and you were organizing text, would you still skip that h3? Some people will say it's so trivial it doesn't matter, but I don't mind doing this to my CSS and XHTML respectively to make them look the same while keeping the structure intact:

Code: Select all
h3, .h4 {
    color: #c00;
}
Code: Select all
<h2>Content</h2>
<h3 class="h4"></h3>

Last edited by Ryan Fait; Dec 15th, 2006 at 09:35.
Reply With Quote
  #8 (permalink)  
Old Dec 13th, 2006, 15:39
Junior Member
Join Date: Dec 2006
Location: nantwich
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Image in h1

Whats so bad about missing out a header tag?
Reply With Quote
  #9 (permalink)  
Old Dec 13th, 2006, 15:41
Reputable Member
Join Date: Sep 2006
Location: Rothwell
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Image in h1

its not good for structure and for SEo
Reply With Quote
  #10 (permalink)  
Old Dec 13th, 2006, 18:35
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Image in h1

Snow, I wouldn't use an image in h1 either... but that's what the original post was about.... or did I miss something?
Reply With Quote
  #11 (permalink)  
Old Dec 13th, 2006, 23:44
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Image in h1

Quote:
Whats so bad about missing out a header tag?
As chubbs said, structure and SEO. Skipping a header tag is like sticking the weather section of a newspaper inside the classifieds.
Reply With Quote
  #12 (permalink)  
Old Dec 14th, 2006, 16:11
Reputable Member
Join Date: Jul 2005
Posts: 400
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Image in h1

Read on...

http://www.w3.org/QA/Tips/Use_h1_for_Title

If you follow the html phrase element link http://www.w3.org/TR/REC-html40/struct/text.html

You won't find any reference to using images inside H1's.

Headers are not SEO gold despite their praise. It's one more tool in the arsenal of SEO, but they are more about proper document structure. The standards for their use are made pretty clear by W3. Even so, these tags are still highly debated on just about every design forum. You'll never find the true answer anywhere except for the published standards.
Reply With Quote
Reply

Tags
image

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Treating an image with <div> tags like a normal image mikeym Web Page Design 2 Mar 1st, 2008 15:28
[SOLVED] multiple image rollover not restoring image snappy JavaScript Forum 4 Nov 5th, 2007 14:38
Image gallery not displaying enlarged image AdRock PHP Forum 15 Sep 1st, 2006 11:31
Background image overlaping footer image at bottom of div lw_d Web Page Design 4 Mar 21st, 2006 00:27
how can i create a wireframe image from a solid image of som benbacardi Graphics and 3D 5 May 22nd, 2004 11:05


All times are GMT. The time now is 05:01.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43