PDA

View Full Version : How to add "alt" text to images on website



DreamTexan
08-23-2009, 11:37 PM
Finally getty the hang of this. Right now working on SEO and I wantto add the "alt" text to the images on my website Homemade Energy (http://homemadeenergy4all.com). I have used the page wizard site builder here to make the pages. When I go to view source of the pages I can see the html and even edit regular html in "view Source" mode but the image html has a border around them and I cannot edit the html. Is ther another way to add the "alt" text for the images so that search engines can index the pages? Thank you in advance.

JND
08-23-2009, 11:47 PM
I took a look at your website, and honestly, it's overloaded with CSS. It's also misaligned and the tables (divisions, actually) overlap.

With the exception of your navigation bar and graphics, I can't see using so much code for such a simple site. Rather, why not open notepad (or my preference, Meta Pad) and write the page in basic html? At least you would have complete control and learn the basics along the way.

In any event, adding the "alt" attribute to an image is as easy as:

<img src="/image.jpg" height="100" width="600" alt="My banner and whatever text I want to display in mouseover here." />

And here's what the W3C Markup Validator has to say: 20 Errors, 4 warning(s) (http://validator.w3.org/check?uri=http%3A%2F%2Fwww.homemadeenergy4all.com% 2F&charset=%28detect+automatically%29&doctype=Inline&group=0)

This, of course, without DOCTYPE defining.

JND
08-23-2009, 11:54 PM
Here's a section of your homepage as I see it, rendered via IE8. Ignore the lack of text clarity; the forum attachment settings greatly reduce the original size of the file, and subsequently the overall appearance.

Notice the large gaps and text overlap.

felgall
08-24-2009, 01:19 AM
Right now working on SEO and I wantto add the "alt" text to the images on my website

The alt attribute has nothing whatever to do with SEO. It is basically a text alternative to the image for those who don't see the image - such as blind prople, people listening via web readers, search engines etc.