Re: [WSG] Semantic status of images in headers
Another thing you might want to consider telling him, and this isn't exactly a web standards issues, is that google may consider this tactic (wrapping a blank white rectangle in h1 tag) to be deceptive and SPAM. On Mon, 4 Oct 2004 17:55:16 +1000, Hugh Todd <[EMAIL PROTECTED]> wrote: > A client of mine is teaching himself CSS. I took a look at some of his > code today (at his request) and saw that while he had set up a > hierarchy of headers (h1, h2, h3) in the HTML, he had done no more than > put an image inside each of them, with an "alt" tag. One of them was a > white rectangle inside the h1 tag, with an alt="Welcome". -- Clayton Lengel-Zigich http://www.lengelzigich.com ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
RE: [WSG] Semantic status of images in headers
Title: RE: [WSG] Semantic status of images in headers Hugh I think you are right. There is some debate about the use of image replacement techniques and how effective they are from a standards perspective. The best technique I have seen was devised by Todd Fahrner and is detailed at Jeffrey Zeldman's A List Apart. Try the following links: http://www.alistapart.com/articles/dynatext/ http://www.alistapart.com/articles/fir/ http://www.alistapart.com/authors/toddfahrner/ http://www.alistapart.com/articles/_javascript_replacement/ and Douglas Bowman has his well respected opinion on the matter here:- http://www.stopdesign.com/articles/replace_text/ HTH Peter -Original Message- From: Hugh Todd [mailto:[EMAIL PROTECTED]] Sent: 04 October 2004 08:55 To: [EMAIL PROTECTED] Subject: [WSG] Semantic status of images in headers A client of mine is teaching himself CSS. I took a look at some of his code today (at his request) and saw that while he had set up a hierarchy of headers (h1, h2, h3) in the HTML, he had done no more than put an image inside each of them, with an "alt" tag. One of them was a white rectangle inside the h1 tag, with an alt="Welcome". My advice to him was that having the h1 tags around images doesn't turn them or their alt tags into proper headers. A text reader will still read the image as an image, and a web crawler won't find the h1 text it's looking for. Then I had a tiny doubt. I thought it conceivable that an "alt" tag for an image inside an h tag could inherit status from its position. But it doesn't does it? Can anyone confirm what I told him? Example: height="40px" /> -Hugh Todd ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **