Web Development

General discussion


Making the switch to XHTML

By MaryWeilage Editor ·
In this week's Design and Usability Tactics e-newsletter, author Michael Meadhra outlines the main advantages of XHTML over HTML 4 and lists the major code differences between HTML and XHTML.

Have you made the switch to XHTML? If not, what are you waiting for? Do you think this column makes a good case for switching from HTML to XHTML?

If you haven't subscribed to the Design and Usability Tactics TechMail, visit our e-newsletter subscription center to subscribe to this free e-newsletter:
http://nl.com.com/MiniFormHandler?brand=bu ilder&subs_channel=bldr_front_door&list_id=e614& ; tag=fb

* Please delete any extra spaces that appear when you paste this URL into your browser.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

XHTML sound reasonable but ...

by Elmonk In reply to Making the switch to XHTM ...

I've been trying to do "well formed" HTML for some years now.
However my experience with MS development environment is that Visual Studio (7.0 ie. .NET) supports in it's standard setting what they call "Internet Explorer 5.0"; XHTML can not even be found within the help index.
Does anybody have a simple cookbook about how to modify the default "new HTML page" template to contain the <?xml ... and the proper doctype instead of the outdated HTML 4.0 version?

Collapse -

Making the switch to XHTML

by webmonkeyBUILDER In reply to Making the switch to XHTM ...

I have been using XHTML for a couple of years now by hand coding new and existing web pages for the web sites I work on. So you can imagine my excitement when I heard Dreamweaver MX had built-in support for XHTML 1.0 Strict.

I still did the hand coding and then used DWMX for the dotting of the i's and crossing of the t's, so to speak. Then, I ran my supposedly squeaky clean code through the W3C Markup Validation Service [http://validator.w3.org/] and recieved extensive errors. So DWMX still has a ways to go in my opinion in its XHTML support and code cleanup tools.

Otherwise, the combination of XHTML and CSS2 has been outstanding in fast and consistent presentation of my web sites across browsers (with the notable exception of Netscape 4.x, which does not support CSS).

I appreciate your article very much. It is nice to have the basics so concisely laid out. I look forward to your future columns. Keep up the good work!

Collapse -


by mattohare In reply to Making the switch to XHTM ...

I considered going xhtml a while ago, but my test site is usually not connected to the internet. How will the <!DOCTYPE> directive work with a link to the internet in such times? Especially if my cache has been emptied?

I'm also trying to hammer out all of the CSS issues. Some of my pages have text that goes invisible at a refresh.

Related Discussions

Related Forums