3 replies [Last post]
rhenry
rhenry's picture
User offline. Last seen 4 weeks 2 days ago. Offline
rank Regular
Regular
Timezone: GMT-6
Joined: 2010-01-28
Posts: 13
Points: 16

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
User offline. Last seen 6 hours 10 min ago. Offline
rank Moderator
Moderator
Timezone: GMT+10
Joined: 2004-05-01
Posts: 7265
Points: 346

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, post ALL your code, both HTML & CSS. No server-side code; just the code sent to the browser.
Use tags.
My articles | CSS Reference

rhenry
rhenry's picture
User offline. Last seen 4 weeks 2 days ago. Offline
rank Regular
Regular
Timezone: GMT-6
Joined: 2010-01-28
Posts: 13
Points: 16

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
User offline. Last seen 6 hours 10 min ago. Offline
rank Moderator
Moderator
Timezone: GMT+10
Joined: 2004-05-01
Posts: 7265
Points: 346

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, post ALL your code, both HTML & CSS. No server-side code; just the code sent to the browser.
Use tags.
My articles | CSS Reference