Hi everyone, I'm placing a logo in the header section of my site, but am having trouble adding the Alt Text for accessibility. This is the code as it is: I've tried this: and some other variations, but all I seem to be able to end up with is the image simply disappearing. Could someone be so kind as to show me the correct code. Any help with this would be much appreciated! Thanks!
Gary is totally right. A thing you could do, was making a transparent 1x1px gif, and stretch is 100%x100% in the table/div, and then put an alt tag on that.
As before, you can't put alt text in a CSS file, only HTML. Using ALT text for accessibility in this circumstance isn't necessary anyway
Only if you use img tags ;-) To validate XHTML, you have to use alt tags (however, I do think that it's only in XHTML strict mode).
That's right only strict - I sometimes just put alt="" if there isn't a need for an accessibility explanation as that way it passes validation