- This topic is empty.
-
AuthorPosts
-
October 9, 2008 at 4:49 pm #23376Historical Forums UserParticipant
Over at Script & Style, I saw this article, "XHTML — Myths and Reality". I’m pretty new to web design, doing it for a few months (been in print design for years), so I found this really interesting. The websites I’ve made I’ve been using XHTML transitional as the doctype. This article and this other one I found at Site Point, after Googling "xhtml vs html doctype", were kind of surprising, since I don’t really know any better.
-
Some interesting points from the Site Point article were:
- In reality, the latest W3C recommendation with widespread support is HTML 4.01. Unless you actually need any of the features that XHTML offers over HTML, there is no technical reason to use XHTML.[/*:m]
- For ‘future-proofing’ your documents, using a Strict doctype is more important than whether you use XHTML or HTML.[/*:m]
- Many authors still advocate XHTML over HTML out of ignorance or because of personal preference.[/*:m]
- Is XHTML supported by all browsers? No. Only a few mainstream browsers support XHTML, like Opera, Firefox and Safari.[/*:m]
- Can I use XHTML with Internet Explorer? No. Not really.[/*:m][/list:u]
So I started going to other big sites and looking at their doctypes and was surprised to see (can’t believe I never noticed before) that many use HTML 4.01, such as Apple and Yahoo.
After a bit of reading, it seems like there’s no real advantage for most web designers to use XHMTL unless they need XML. What do you guys think? For those of you with real-world experience, has this been an issue for you ever?
October 17, 2008 at 7:05 am #50618EdwinMemberMaybe you can better ask: XHTML 2 or HTML 5? (looking to the future…) ;-)
October 17, 2008 at 8:31 am #50621ArgeauxParticipantUse whichever you like…
Its true that xhtml in IE isnt really xhtml, but i like the syntax alot better because it forces you to open and close all tags. Its the way i learned to type my html and i tried html 4.01 sites a couple times and needed to review all my files because i was closing image, and link tags etc :D
-
AuthorPosts
- The forum ‘Other’ is closed to new topics and replies.