WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: <h> around images

for

From: Tom Gilder
Date: Sep 3, 2002 5:01AM


On Tuesday, September 3, 2002, 11:28:56 AM, you wrote:
> > Tom, I'm changing the thread to ask you about <h1><img src="logo.png"
> > alt="My Company" /></h1> ...
> >
> >Is it alright to do this?
>
> I'm not Tom, but -- yeah, this is fine. If you need to change the
> styling you can use CSS to tweak margins, etc.

Also, watch out for whitespace below the image. The same rules that
for <td> that http://devedge.netscape.com/viewsource/2002/img-table/
speaks about also apply to heading tags.


Cheers
--
Tom Gilder
http://tom.me.uk/


----
To subscribe, unsubscribe, or view list archives,
visit http://www.webaim.org/discussion/