Webpage coded badly? [css]

Soldato
Joined
28 Sep 2004
Posts
8,540
Hey, I was a bit bored today so I thought i'd just get up a homepage for a website I could later produce, after my exams really. So I hosted it on beansprouts uploader and showed a couple of people, and my friend that semantically it was poorly coded, how would I go about improving this? I'm only a newbie to this sort of thing. I know that the header tag is poor but I can't think of a way round that. I've only studied the beginner section of html dog so expect nothing great. :)

Click Me!

Once some code has been looked at, how do you feel about the design of the page? lol :p :D
 
Soldato
Joined
26 Dec 2003
Posts
16,522
Location
London
It's not that bad. Add some text to your <h1> so Google/screenreaders pick it up, put the reflection image as the background of a div since it's purely presentational, and instead of having your text headers as <img> tags, use <h3> tags and apply the images as backgrounds.
 
Soldato
Joined
3 Aug 2005
Posts
4,534
Location
UK
Use the Phark Image Replacement Technique to shift the graphical headers out of the HTML and into the CSS where they belong, leaving behind only appropriate text in the header tags. Make the "Introduction and about me", "Gallery" and "Read some news" paragraphs into level 2 headers (<h2>) and add some padding to the container div to stop the text hitting the edges and looking odd.

Other than that, not bad :)
 
Permabanned
Joined
21 Apr 2004
Posts
13,312
Location
Wolverhampton
The code isn't poor, it's not prize winning stuff or anything but definately better than some garbage I've seen. I was expecting tables, and iframes etc.

You're doing well, keep it up. :)
 
Back
Top Bottom