Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-14-2004, 08:33 AM   PM User | #1
Goober
New Coder

 
Join Date: Aug 2003
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Goober is an unknown quantity at this point
Xhtml 1.1

I want to know if its ok to build web pages with XHTML 1.1 because I'm not sure if its compadible with most browsers. Thanks in advance.

- Goober
Goober is offline   Reply With Quote
Old 02-14-2004, 05:04 PM   PM User | #2
bcarl314
Mega-ultimate member


 
Join Date: Jun 2002
Location: Winona, MN - The land of 10,000 lakes
Posts: 1,855
Thanks: 1
Thanked 45 Times in 42 Posts
bcarl314 will become famous soon enough
Coding to XHTML 1.1 has lots of advantages.

1) Your site will be forward compatible. Sure, maybe a few things won't work in older browsers, but at somepoint you need to say NN 4.7 users, you need to updgrade. I mean really that browser's over 5 years old now.

2) It will force you to code more symantically correct, which will reduce backwards compatibility issues anyway.

3) It will enhance accessibility for users (see Section 508 / WAI)

4) It will most likely work on other media devices as well. (Palm Pilots, webTV, etc)

Anybody have more???
bcarl314 is offline   Reply With Quote
Old 02-14-2004, 05:36 PM   PM User | #3
oracleguy
Rockstar Coder


 
Join Date: Jun 2002
Location: USA
Posts: 9,043
Thanks: 1
Thanked 322 Times in 318 Posts
oracleguy is a jewel in the roughoracleguy is a jewel in the roughoracleguy is a jewel in the rough
Your code will be cleaner since you have to use CSS, the code is easier for others to work on.

Since your signal-to-noise ratio will be low, it improves your google rankings.
__________________
OracleGuy
oracleguy is offline   Reply With Quote
Old 02-14-2004, 06:21 PM   PM User | #4
Goober
New Coder

 
Join Date: Aug 2003
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Goober is an unknown quantity at this point
Is it compatible with most modern browsers? (Like IE 5 and better, and most recent versions of Netscape?). Because as far as know, XHTML 1.1 became a W3C recommendation fairly recently.
Goober is offline   Reply With Quote
Old 02-14-2004, 06:42 PM   PM User | #5
liorean
The thread killer


 
Join Date: Feb 2003
Location: Umeå, Sweden
Posts: 5,575
Thanks: 0
Thanked 84 Times in 75 Posts
liorean will become famous soon enoughliorean will become famous soon enough
XHTML1.1 is NOT supported in any ie version on an platform if served as 'application/xhtml+xml' (which it should be).

It IS supported as 'text/xml' or 'application/xml' in iew, but only in the same way XML is. That is, ALL elements are treated as inline elements and have no default behavior or style attached to it. Which means that for example links and form controls act exactly like span elements.


It is fully supported by moz, op7, saf. I don't know about msn/osx, but brothercake could probably tell you whether or not that browser supports it.


(Generally, when we say MODERN browsers, we don't include four year old browsers like ie6w or earlier.)
__________________
liorean <[lio@wg]>
Articles: RegEx evolt wsabstract , Named Arguments
Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards

Last edited by liorean; 02-14-2004 at 06:45 PM..
liorean is offline   Reply With Quote
Old 02-14-2004, 06:56 PM   PM User | #6
Goober
New Coder

 
Join Date: Aug 2003
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Goober is an unknown quantity at this point
Quote:
Originally posted by liorean
Generally, when we say MODERN browsers, we don't include four year old browsers like ie6w or earlier.
I didn't Know it was that old, LOL.

Last edited by Goober; 02-14-2004 at 07:00 PM..
Goober is offline   Reply With Quote
Old 02-14-2004, 07:19 PM   PM User | #7
me'
Senior Coder

 
Join Date: Nov 2002
Location: Warwickshire, England
Posts: 1,229
Thanks: 0
Thanked 0 Times in 0 Posts
me' is an unknown quantity at this point
And yet, the question that's really being asked here (even if you don't realise it yet) is does XHTML1.1 have any advantages over 1.0?
__________________
David House - Perfect is achieved, not when there is nothing left to add, but when there is nothing left to take away. (Antoine de St. Exupery).
W3Schools | XHTML Validator | CSS Validator | Colours | Typography | HTML&CSS FAQ | Go get Mozilla Now | I blog!
me' is offline   Reply With Quote
Old 02-14-2004, 10:06 PM   PM User | #8
Goober
New Coder

 
Join Date: Aug 2003
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Goober is an unknown quantity at this point
I don't know dose it?
Goober is offline   Reply With Quote
Old 02-14-2004, 10:16 PM   PM User | #9
liorean
The thread killer


 
Join Date: Feb 2003
Location: Umeå, Sweden
Posts: 5,575
Thanks: 0
Thanked 84 Times in 75 Posts
liorean will become famous soon enoughliorean will become famous soon enough
Well, with the exception of it's modularity, no, it doesn't. If you write your own XHTML1.1 DTD though, it does.

The largest difference between 1.0 and 1.1 in practice, is that 1.1 MUST NOT be served as HTML (which mean you are not allowed to use the 'text/html' MIME type).
__________________
liorean <[lio@wg]>
Articles: RegEx evolt wsabstract , Named Arguments
Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards
liorean is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:37 PM.


Advertisement
Log in to turn off these ads.