3 replies [Last post]
rhenry
rhenry's picture
Offline
Regular
st. louis, MO
Last seen: 11 years 27 weeks ago
st. louis, MO
Timezone: GMT-5
Joined: 2010-01-28
Posts: 17
Points: 21

www.rhenrydesigns.com

This is my first hand coded site and my first css site. I ran everything through the validator and got 100%. This is a complete redo of a site that was done in Dreamweaver.

Thank you!!!

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 6 years 50 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

You've included your

You've included your stylesheet twice and you're making the mistake of not included the text of your image replaced headings anywhere in your HTML, i.e. R Henry Design Studio web. print. multimedia (which I'm assuming would be the keywords you'd want to be searched on) don't exist in your HTML. And the other subheadings which use images don't have alt attributes. You should always have an alt attribute even if it's blank, but in your case, you should have what the images say as the alt attribute so that search engines, people with images turned off and those who can't see images can still access the text.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

rhenry
rhenry's picture
Offline
Regular
st. louis, MO
Last seen: 11 years 27 weeks ago
st. louis, MO
Timezone: GMT-5
Joined: 2010-01-28
Posts: 17
Points: 21

Thanks Tyssen, I've gone

Thanks Tyssen,

I've gone through and added all the alts except for in the portfolio thumbs which will take a bit more time than I have. I guess that's one thing I'll have to remember to do if I'm hand typing the code for the images.

but I wonder one thing. How do I add an alt tag for a header image that's being sent from the CSS and that is not directly planted in the html? I placed an alt in the header but that doesn't seem right. It doesn't show on the page so I left it for now.

I read that if I needed an alt then I should be placing the image directly in the html but I'm not sure I want to do that.

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 6 years 50 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

rhenry wrote: but I wonder

rhenry wrote:

but I wonder one thing. How do I add an alt tag for a header image that's being sent from the CSS and that is not directly planted in the html?

Image replacement

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference