Jump to content
Sign in to follow this  
myncv

xhtml

Recommended Posts

There aren't many large differences. Xhtml is extensible though, which means you can add new tags into it with different xml namespaces. An example of this is using xhtml+mathml together in web pages. Personally, I haven't figured out how to do it, but I'm told it's possible. :)You should use xhtml though. It's the future of html, and it's not very hard to deploy if you already write pages in html 4.01 strict.

Share this post


Link to post
Share on other sites

the biggest difference you will see are of two types:a.) stand alone tags now end with forward slash before the ending carroti.e. <br> is now <br />, <img src="xxx.jpg"> is now <img src="xxx.jpg" />b.) stand alone attributes are fully definedi.e <td nowrap> is now <td nowrap="nowrap">, <option value="xxx" selected> is now <option value="xxx" selected="selected">other things too, but those are the most visible (day to day) changes.

Share this post


Link to post
Share on other sites
whats the differance from html and xhtml....any huge changes ect.

Well tags have become much more strict. So <img src="thing.jpg"> should be <img src="thing.jpg" alt="" title="" height="200" width="300" /> for example.Also, XHTML is much more friendly with CSS, esp CSS2. So no more table-based designs (<table width="100%" height="100%" align="center" valign="middle"> is evil).Just that kinda thing. It's great when you learn how to use XHTML web standards, and after that you'll get this nice arrogant glow when you find horrible non-semantic, slow and inaccessiable code on a corporate website. :)

Share this post


Link to post
Share on other sites
Just that kinda thing. It's great when you learn how to use XHTML web standards, and after that you'll get this nice arrogant glow when you find horrible non-semantic, slow and inaccessiable code on a corporate website. :)

LOL! :)I know the feeling...

Share this post


Link to post
Share on other sites
LOL! :)I know the feeling...

LMFAO - so do I!!! :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...