Which should I use: XHTML 1.0 or 1.1?

Need technical advice on coding your web pages? Covers HTML, JavaScript, CSS, and some server side technologies. Also the issue of some webpages not displayed well.

Moderator: Don_HH2K

Which should I use: XHTML 1.0 or 1.1?

Postby Andrew T. » Sat 04 Dec, 2004 3:50 am

Yesterday I coded a web page that, I found, was capable of validating as both XHTML 1.0 Strict and as XHTML 1.1. So, I am trying to decide which XHTML doctype to use.

Is there any advantage--or disadvantage--in using an XHTML 1.1 doctype declaration over XHTML 1.0 Strict, and vice versa?
UserAgent: Mozilla/5.0 (Windows; U; Win95; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
User avatar
Andrew T.
diamond member
diamond member
 
Posts: 1228
Joined: Fri 14 Mar, 2003 11:37 pm
Location: Somewhere beyond the sea

Postby Don_HH2K » Sat 04 Dec, 2004 8:36 am

According to the W3C, the main differences are as follows

W3C wrote:This document type is essentially a reformulation of XHTML 1.0 Strict using XHTML Modules. This means that many facilities available in other XHTML Family document types (e.g., XHTML Frames) are not available in this document type. These other facilities are available through modules defined in Modularization of XHTML, and document authors are free to define document types based upon XHTML 1.1 that use these facilities
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (un-AXed)
Laptop: HP Compaq nx6325 - Turion 64 X2 @ 2GHz, 2GB DDR2, 100GB HD, ATI Radeon X300, 15" LCD, Seven Pro
Handheld: Palm Treo 650 - Intel PXA270 @ 312MHz, 10MB RAM, 32MB flash, 2.7" LCD, Palm OS 5.4
User avatar
Don_HH2K
Moderator
Moderator
 
Posts: 5112
Joined: Sun 09 May, 2004 3:59 pm

Postby Antony » Sat 04 Dec, 2004 8:39 am

Please design webpages for real human to read, not bots.
UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/125.5.5 (KHTML, like Gecko) Safari/125.12
User avatar
Antony
diamond member
diamond member
 
Posts: 14510
Joined: Tue 18 Jun, 2002 11:36 pm
Location: Sydney, Australia

Postby Andrew T. » Sat 04 Dec, 2004 1:09 pm

Thanks,

After reviewing your posts as well as some of the documentation on the W3C website, I decided to simply keep the declaraction at XHTML 1.0 Strict.
UserAgent: Mozilla/5.0 (Windows; U; Win95; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
User avatar
Andrew T.
diamond member
diamond member
 
Posts: 1228
Joined: Fri 14 Mar, 2003 11:37 pm
Location: Somewhere beyond the sea

Postby Shark Daddy » Sun 05 Dec, 2004 6:56 pm

good choice.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Shark Daddy
Moderator
Moderator
 
Posts: 519
Joined: Wed 19 Jun, 2002 11:19 am
Location: Toronto, Canada


Return to Web Design and Page Coding

Who is online

Registered users: Google [Bot]