Wrox Programmer Forums
|
BOOK: Beginning Web Programming with HTML, XHTML, and CSS This forum is for discussing Jon Duckett's book Beginning Web Programming with HTML, XHTML, and CSS.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Web Programming with HTML, XHTML, and CSS section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 17th, 2006, 03:37 AM
Registered User
 
Join Date: Sep 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default IE is not a XHTML-browser

I've come a cross over Jon Duckett's book "Web Programming with HTML, XHTML and CSS", and I started to read about XHTML (which i find is curious).

When reading I see Jon encouraging to create a basic XHTML-page and then use Internet Explorer to try it out. Why? And the fact that Internet Explorer does not support XHTML is not mentioned at all in his book.

Of the big webbrowsers, only Firefox with its Gecko engine supports XHTML correctly. This is not mentioned either in the book (afaik).

In order to make Internet Explorer to display XHTML written pages (decently), you should add a MIME type of "text/html". Furthermore, the use of the text/html MIME type is now deprecated in XHTML 1.0 Strict and XHTML 1.1, in favor of application/xhtml+xml. Internet Explorer does not recognize this MIME type, so instead of rendering the page, a file download prompt is presented to the user.

And if you stick with text/html you will get a "tag soup", and Internet Explorer tries it best to unscramble it to html it knows.

Afaik these stuff are not mentioned in the book at all. Why?



"Sending XHTML as text/html Considered Harmful" by Ian Hickson.
http://hixie.ch/advocacy/xhtml
 
Old October 31st, 2006, 06:24 PM
Friend of Wrox
 
Join Date: Dec 2003
Posts: 488
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Much as I hate to I have to say that IE /does/ support a fair bit of xhtml. Firefox supports more, but its support isn't 100% complete cf:

http://www.webdevout.net/browser_sup...=on&uas=CUSTOM

That's not to say that IE is not a steaming old heap of crap!


--
Don't Stand on your head - you'll get footprints in your hair
                                           http://charlieharvey.org.uk
                                              http://charlieharvey.com
 
Old April 7th, 2010, 01:12 PM
Registered User
 
Join Date: Apr 2010
Posts: 70
Thanks: 4
Thanked 0 Times in 0 Posts
Default

In his more recent book, Beginning HTML, XHTML, CSS, and Javascript, most of the screenshots in the book were taken with Firefox.





Similar Threads
Thread Thread Starter Forum Replies Last Post
XHTML Validation nairaby HTML Code Clinic 2 August 11th, 2007 02:45 AM
Seeing the XHTML output andyhague XSLT 1 March 23rd, 2006 02:15 PM
Launch default browser in a new browser window haiying Beginning VB 6 1 August 30th, 2005 05:48 PM
Beginning XHTML Lynk Wrox Book Feedback 1 March 1st, 2005 11:16 PM
XHTML rajpalan HTML Code Clinic 9 October 20th, 2003 02:07 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.