View Full Version : HTML Advise
Atlanta Realtor
Jul 13th 2004, 11:32 pm
Any advise on how I can clean up this NASTY html on my website. From my understanding it is very nasty and very poor. I dont know if the Css is something that would make this more difficult to do but and suggestions would be appreciated.
THT
Jul 13th 2004, 11:34 pm
i would check out http://validator.w3.org
:)
Atlanta Realtor
Jul 13th 2004, 11:41 pm
i would check out http://validator.w3.org
:)
I already know my site doesnt validate and I was told by my old seo that Validator wasnt any good or of use..that it didnt matter if my website validated or not..but I am learning that it must matter but dont know where to begin to get it to validate. I also heard that getting it to validate with me using Css is something of a trick as well. This from my old Seo
Lever
Jul 14th 2004, 12:22 am
If it's the Atlanta Real Estate site we're talking here then you'll need to get the inline styles, the ones that are defined in the page, into the CSS file, including the margins defined in your BODY tag. That plus getting a valid DTD (http://www.w3.org/QA/2002/04/valid-dtd-list.html) will be your first steps toward valid HTML and knock at least 4 errors off your validation results.
Then you can start adding your ALT tags to all the images that are missing them - even ALT="" will keep the validator happy for now.
Then revalidate your revised page and pick off all the other offending tags one by one...
You can also use HTML tidy (http://cgi.w3.org/cgi-bin/tidy) and view the source of the result, but this is a step beyond HTML into XHTML territory, though it will automatically place DTDs in your document and leave you to skim through the remaining errors.
NB - It's probably a wise move not to use tidy for any of your PHP pages ;)
SEbasic
Jul 14th 2004, 1:26 am
I would start using CSS-P to build the site. It might take a while to get it all working at first, but once it is, the benefits are huge.
webmonkey have a great tutorial on the subject if you need somewhere to get help from
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.