Forum Moderators: mack

Message Too Old, No Replies

Online Web page tidy confusion

What's going on?

         

Neil_Mac

7:52 am on Dec 4, 2002 (gmt 0)

10+ Year Member



I checked a Webpage through W3c's html Tidy then uploaded the results. I've now checked the 'tidied' page with Netmechanic and this show 'incompatablilities with 97% of Browsers'. One page wouldn't load at all until I returned it to it's original state. So which is right? Do I really need all the 'document type' and conversion to xhmtl?
TIA
Neil Mac

SuzyUK

8:08 am on Dec 4, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Neil Welcome to WW

no you shouldn't need conversion to XHTML..but it would be an idea to put in The Appropriate DTD for the version of HTML you are using
see this page for help: [htmlhelp.com...]

When you validated through W3C which one did you use?

Suzy

[Edit]
Link to explanation page:added
[/edit]

Neil_Mac

8:23 am on Dec 4, 2002 (gmt 0)

10+ Year Member



I used the 'MarkUp Validation Service' after running HTML Tidy.

[edited by: Neil_Mac at 9:00 am (utc) on Dec. 4, 2002]

SuzyUK

8:50 am on Dec 4, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Neil, you may want to remove that URL from your post, personal URLs are not allowed...

There's a welcome post somewhere, which explains how the boards like to work, I'll see if I can find it and post,unless someone else does first. link added below

However I ran your page through the validator
biggest error is that you have no charset defined, which is required by XHTML,

try adding this to head section of document:
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
.........

The validator also threw up a couple more errors (though not serious)

mostly missing alt tags, if you don't want to specify any alt text for an image the just put in alt=" " (even your counter should have one)

another one is a lettercase problem (XHTML, requires tags and atttributes to be all lowercase) - it was align="Right" should be align="right"

the validator I used is here: [validator.w3.org...]

it leads to explanation the errors as it sees them

HTH
Suzy

[edit] link added: [webmasterworld.com...]
[/edit]

Neil_Mac

9:03 am on Dec 4, 2002 (gmt 0)

10+ Year Member



First of all, I apologise for the link - I'm still very wet behind the ears.
Secondly thanks for the advice. I'll amend the page.
Thanks again
Neil Mac