|  | Posted by Marc on 01/19/06 15:31 
Marc wrote:> Which doctype should we be writing to now?  What are the advantages /
 > disadvantages?  I usually write to XHTML1 Strict, but someone in here
 > said they don't recommend using XHTML at all... why?
 
 Okay, so I've heard the disadvantages of using HTML and also the
 question  "why use XHTML when you don't need to?" posed a lot.  What
 about some disadvantages of using XHTML - what reasons are there *not*
 to use it?
 
 Also, I found this article:
 http://www.yourhtmlsource.com/accessibility/xhtmlexplained.html - which
 I have taken an excerpt from and pasted below.  Would anyone care to
 comment?
 
 "The benefits of adopting XHTML now or migrating your existing site to
 the new standards are many. First of all, they ensure excellent
 forward-compatibility for your creations. XHTML is the new set of
 standards that the web will be built on in the years to come, so
 future-proofing your work early will save you much trouble later on.
 Future browser versions might stop supporting deprecated elements from
 old HTML drafts, and so many old basic-HTML sites may start displaying
 incorrectly and unpredictably.
 
 Once you have used XHTML for a short time, it is no more difficult to
 use than HTML ever was, and in ways is easier since it is built on a
 more simplified set of standards. Writing code is a more streamlined
 experience, as gone are the days of browser hacks and display tricks.
 Editing your existing code is also a nicer experience as it is
 infinitely cleaner and more self-explanatory. Browsers can also
 interpret and display a clean XHTML page quicker than one with errors
 that the browser may have to handle.
 
 A well-written XHTML page is more accessible than an old style HTML
 page, and is guaranteed to work in any standards-compliant browser
 (which the latest round have finally become) due to the insistence on
 rules and sticking to accepted W3C specifications. As mentioned above,
 XHTML allows greater access to configurations other than a computer and
 browser. This interoperability is another aspect of XHTML's greater
 accessibility."
 
 I look forward to your responses.
 
 Marc
  Navigation: [Reply to this message] |