Forums

This topic is locked

What is XHTML?

Posted 07 Mar 2005 15:28:25
1
has voted
07 Mar 2005 15:28:25 Matt Bailey posted:
Ok, I'm not a coding newbie, but I don't know much about XHTML. From what I've learned so far it seems like a more strict version of HTML.

What are the benefits (and downsides) of switching from regular HTML to XHTML. I've only recently started getting rid of things like tables and using mostly CSS instead, an experience that has not only been freeing and illuminating, but a right old pain in the ass! What's it going to be like if I 'switch' to XHTML?

___________________________________
* Sorry... how do you do that again?... *

Replies

Replied 07 Mar 2005 19:22:51
07 Mar 2005 19:22:51 Chris Charlton replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>From what I've learned so far it seems like a more strict version of HTML.<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
You're right on the money! <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle> There are three levels of XHTML - <i>Loose</i>, <i>Transitional</i>, and <i>Strict</i>. A great place to check what tags/attributes are allowed for each level is www.w3schools.com/xhtml/ (they have a tag reference too).

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>What are the benefits (and downsides) of switching from regular HTML to XHTML.<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
<b>Benefits:</b> better coding on your part, web-standards based browser will render correctly (so you could almost say better), and your markup will be valid which is all the buzz the last couple years (next to CSS), and newer devices can handle XHTML better than browser-dependant HTML code we <i>used</i> to have to write.

I personally feel that I write less code (XHTML) since not all tags are supported and it has really help me slim down allllll my web-designs when I was shifting to CSS based layouts. Make the switch now, and you won't get left behind.

Also, DMXzone provides some reading on this subject: www.dmxzone.com/index.asp?TypeId=28&CatId=691 and www.dmxzone.com/index.asp?TypeId=2&CatId=778 .

~ ~ ~ ~ ~ ~ ~
Chris Charlton <i>- DMXzone Manager</i>
<font size=1>[ Studio MX/MX2004 | PHP/ASP | SQL | XHTML/CSS | XML | Actionscript | Web Accessibility | MX Extensibility ]</font id=size1>
Replied 07 Mar 2005 20:21:31
07 Mar 2005 20:21:31 Chris Charlton replied:
Here, flip through this - www.dmxzone.com/showDetail.asp?TypeId=2&NewsId=8515&CatId=0 (super short).

~ ~ ~ ~ ~ ~ ~
Chris Charlton <i>- DMXzone Manager</i>
<font size=1>[ Studio MX/MX2004 | PHP/ASP | SQL | XHTML/CSS | XML | Actionscript | Web Accessibility | MX Extensibility ]</font id=size1>
Replied 18 Apr 2013 09:24:51
18 Apr 2013 09:24:51 David Hall replied:
The evolution of HTML has essentially stopped. Instead, HTML is being replaced by a new language, called XHTML. XHTML is in many ways similar to HTML, but is designed to work with the new eXtensible Markup Language, or XML, that will soon serve as the core language for designing all sorts of new Web applications, in which XHTML will be only one of many "languages." But, XHTML is designed to work with these other language, so that different documents, in different languages, can be easily mixed together.

Reply to this topic