English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

l have been endulging in XHTML and l have this question. l know using the strict version as opposed to the transitional etc it is not supposed to from what l am gathering to accept errors in the coding. What confuses me is that l took a very brief and basic code that was correct XHTML and l took that same code and put some errors in it. l transfered both files onto the net and they both show the same. Why doesn't the bad coding not show or not show properly. l named the one file, good.html and the second bad.html and they both show in an identical manner. This throws me as l was expecting the bad not to show properly. Can anyone help me with this. l know HTML extremely well and wanted to test the viewing capabilities. l simply changed a couple of the

to

...Anyway, help please....

2006-09-13 13:41:34 · 3 answers · asked by lronmann 1 in Computers & Internet Programming & Design

3 answers

It'll show but it won't validate as proper code
enter your url in this and it will show thw errors
http://validator.w3.org/

2006-09-13 13:51:16 · answer #1 · answered by Rusty Nails 5 · 0 0

because the browser want to show your page, without correcting your syntax! they are very forgiving.

If you want to validate your syntax, you go to a validator!

the king of the validators is from the w3c (the www standards guys)

2006-09-13 20:54:36 · answer #2 · answered by jake cigar™ is retired 7 · 0 0

As far as I figured, browsers are so relaxed in XML that if they can figure P as p they will do it without respecting strict trans or anything like those.

2006-09-13 20:54:37 · answer #3 · answered by Andy T 7 · 0 0

fedest.com, questions and answers