Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 17th, 2006, 03:37 AM
Registered User
 
Join Date: Sep 2006
Location: , , .
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
Reply With Quote
  #2 (permalink)  
Old October 31st, 2006, 06:24 PM
Friend of Wrox
Points: 1,515, Level: 15
Points: 1,515, Level: 15 Points: 1,515, Level: 15 Points: 1,515, Level: 15
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2003
Location: Oxford, , United Kingdom.
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
Reply With Quote
  #3 (permalink)  
Old April 7th, 2010, 01:12 PM
Registered User
 
Join Date: Apr 2010
Location: Planet Earth
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 09:20 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.