I just found a detailed document on important differences between HTML
and XHTML by the famous Ian Hickson, which is recommended for every web
developer:

   http://www.hixie.ch/advocacy/xhtml

No, none of it is the trivia on replacing <IMG ...> with <img .../>. To
quote a section:

   To embed CSS in an XHTML document which may be handled as either
   HTML4 or XHTML, you have to use:

      <style type="text/css"><!--/*--><![CDATA[/*><!--*/
        ...
      /*]]>*/--></style>

   Yes, it's pretty ridiculous. If documents _aren't_ escaped like
   this, then the contents of <script> and <style> elements get
   dropped on the floor when parsed as true XHTML.

roozbeh


_______________________________________________
FarsiWeb mailing list
[EMAIL PROTECTED]
http://lists.sharif.edu/mailman/listinfo/farsiweb

Reply via email to