Web 2.0 Training
 

Random Header :: Unpredictably Exciting

Tips to migrate from HTML to xHTML

5 simple steps to migrate from HTML to XHTML .

  1. Open with the proper DOCTYPE & Namespace
    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd “>
  2. Write all tags in lowercase
    <title>XHTML Rules</title>
  3. Quote all attribute values
    src=”xyz.png” and not src=xyz.png
  4. Close all tags
    <p>Some Text</p>
  5. Close “empty” tags, too
    <img src=”xyz.png” />
Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • BlinkList
  • Furl
  • IndianPad

If you liked my post, feel free to subscribe to my rss feeds

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

  Wordpress Themes Protected By Wp Spam Blocker