«

»

The alt attribute

Thursday 22nd September, 2011 - 11:13am with 5 comments

Always put it in for every image. Ensure to put title= as well to ensure it works in all browsers. Also, with HTML emails, put a width and height on all images to ensure that alt text appears. Use inline styling for emails and be 100% sure that alt text appears.

PS. Drop down menus: Don’t use margin. The hover won’t stay…

PPS. Stop calling it a fucking alt tag, it’s an attribute

Posted on: Thursday, September 22nd, 2011 at 11:13 am
Categories: Code
Tags: · ·
Comments feed: RSS 2.0
Status: You can leave a response, or trackback from your own site.

5 Comments — on “The alt attribute”

Jump to comment form?

Liz

Thursday 22nd September, 2011 at 11:15 am

What do you mean the hover won’t stay?

[Reply]

Georgie:

September 22nd, 2011 at 11:22 am

@Liz, Margins will mean that when you attempt to click on anything in the drop down menu, the menu will subsequently disappear because of the gap between the main button and the menu itself.

[Reply]

Liz:

September 24th, 2011 at 4:09 am

@Georgie,

…I’m so going to do it one of these days just to see it in action. I won’t post it publicly, though – unless it’s done as a prank. :P

[Reply]

Kitty

Thursday 22nd September, 2011 at 11:35 am

Hahaha, seriously people call it a tag?? :s

[Reply]

Georgie:

September 22nd, 2011 at 1:12 pm

@Kitty, I used to say it all the time argh. :P I keep forgetting.

[Reply]

Leave a Reply