Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder cineweekly.com's Avatar
    Join Date
    Aug 2010
    Posts
    485
    Thanks
    14
    Thanked 3 Times in 3 Posts

    Heading tags for images / video?

    Should images and video be given a heading tag? My articles usually have one or two images or videos and I'll label them <h4> / <h5> but I don't know if that's the best practice. Sometimes I'll have a couple of <h4>s too. What if the video is in an iframe like Vimeo? What if my images have or don't have a caption?

  • #2
    Registered User
    Join Date
    Jun 2011
    Posts
    1,063
    Thanks
    12
    Thanked 241 Times in 240 Posts
    I think if they are the main part of the page then yes. We are talking h2 here. I read and agreed to an article that the header (or the site name) should be the only h1 on the site. To answer your question, flickr has one image on an entire page, so I think it should have a header. If your video is large, then yeah. One youtube video on the page, fairly large so it should have a h2. For video thumbnails, I typically just use span. Not that any of this really matters since search bots aren't really interested in it either
    Last edited by Sammy12; 08-01-2011 at 03:14 AM.

  • #3
    Regular Coder cineweekly.com's Avatar
    Join Date
    Aug 2010
    Posts
    485
    Thanks
    14
    Thanked 3 Times in 3 Posts
    I don't use a heading tag for my site name. I thought <h1> should be for the article name? I could see how a name brand would benefit but I thought this was the case. Can anyone link to an article discussing this?

  • #4
    Registered User
    Join Date
    Jun 2011
    Posts
    1,063
    Thanks
    12
    Thanked 241 Times in 240 Posts
    http://webdesign.about.com/od/seo/a/...h1_for_seo.htm

    wasn't the article i was talking about. + the article linked is slightly wrong (as all her articles are). images can be used in headers if they are backgrounds (ie: logos). I tend to just stick an h1 for my site name with a bunch of keywords and descriptions. ultimately if you are trying to build a website people are going to remember and come back to, i think the h1 should be the site name. if you are building a website that's more like one-stop place and hoping on getting search engines to spot article names, then sure why not.

    Code:
    h1 span { display: none; }
    Code:
    <h1>
     <span>My Site - Site about dogs, cats, pets, animals</span>
    </h1>
    Last edited by Sammy12; 08-01-2011 at 05:15 AM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •