473,387 Members | 1,779 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Xhtml strict 1.0 vs xhtml 1.1

2
Which one is better? XHTML STRICT 1.0 or XHTML 1.1
_________________
Smslån inflatable bouncer
Dec 6 '07 #1
4 1707
drhowarddrfine
7,435 Expert 4TB
It depends but it can be argued you have no use for either. XHTML1.1 is XML and must be served as XML, but I doubt you have your server set up to serve XML web pages. XHTML1.0 must be served as application/xhtml+xml to take advantage of xhtml but, again, I doubt that you do.

But, even if you did serve xhtml properly, only modern browsers can work with XHTML. Internet Explorer does not. So until IE understands xhtml (IE8 will not) or it goes away (wishful thinking) serving xhtml may be rather useless.

So XHTML winds up being served as text/html and interpreted by the browser as broken HTML, "tag soup". Most browsers handle that pretty well but, like I said, it can be argued there is no point in doing so.
Dec 6 '07 #2
Death Slaught
1,137 1GB
Isn't XHTML backwards compatible?

- Death
Dec 6 '07 #3
drhowarddrfine
7,435 Expert 4TB
That depends on what you mean by compatibility. If you serve the page as xhtml, then IE will choke on it. If you serve it as html, then it's not xhtml and browsers will treat it as html. If you want xhtml to work the best with html-only browsers, then you have to make changes. All that doesn't sound like 100% compatibility to me. Following these guidelines is best.
Dec 6 '07 #4
clai83
41
Just a small note. XHTML 2.0 is not backwards compatible. with XHTML 1.1 or 1.0 . I personally have been brain washed to work with XHTML so, when someone asks me some HTML 4.0 or HTML 4.01 question, and they ask me to do it without style sheets, I go completely blank.

Anyway XHTML in 1.1 has become modular and its a big step. XHTML 1.1 takes into account mobile browsers and such. however, for all intensive purposes at this time, and as long as MSIE is around, you will be making a lot mre XHTML 1.0 pages than XHTML 1.1 pages. Either that, or you will have to make both versions.
Dec 7 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

24
by: Nobody | last post by:
Okay, you are all so smart in here. Answer me this: IE6 in standards mode doesn't seem to hide scrollbars on the body element (overflow:hide) Ain't this a quandary. I have it in my head that I...
35
by: The Bicycling Guitarist | last post by:
My web site has not been spidered by Googlebot since April 2003. The site in question is at www.TheBicyclingGuitarist.net/ I received much help from this NG and the stylesheets NG when updating the...
16
by: Peter Maas | last post by:
The XHTML file below creates a 2x2 matrix of square images. There is always some space at the bottom borders of the cells (when rendered with Gecko and KHTML, not with IE) and I've found no way so...
16
by: Mcginkel | last post by:
I am trying to find a way to load XHTML content in an Iframe. I use to do this in html by using the following code : var iframeObject = document.createElement("iframe");...
82
by: Buford Early | last post by:
I read this in http://annevankesteren.nl/2004/12/xhtml-notes "A common misconception is that XHTML 1.1 is the latest version of the XHTML series. And although it was released a bit more than a...
24
by: Dan Jacobson | last post by:
I shall jump on the XHTML bandwagon. I run my perfectly good html4/strict pages thru $ tidy -asxhtml -utf8 #to get: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"...
20
by: Alan Silver | last post by:
Hello, I have read about the problems that IE has when using a doctype of HTML 4.01 Transitional. I was advised to use Strict wherever possible. My question is, does the same apply to XHTML...
11
by: Michael Powe | last post by:
How can I make an XHTML-compliant form of an expression in this format: document.write("<scr"+"ipt type='text/javascript' src='path/to/file.js'>"+"</scr"+"ipt>"); this turns out to be a...
10
by: webEater | last post by:
Hello, I try the following in Firefox and other modern browsers: window.addEventListener('load', function() { document.title = CSS.getClass('fontSize'); var div = document.createElement('div');...
1
by: DeveloperQuest | last post by:
How do I make Xhtml 1.0 strict or Xhtml 1.1 strict appear in the Visual Studio 2005 dropdown? How do I add a Xhtml 1.0 strict to the dropdown in visual studio 2005? I have used the default...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.