Changes between Version 11 and Version 12 of CodingStyle


Ignore:
Timestamp:
Aug 16, 2008, 8:03:07 AM (16 years ago)
Author:
Simek
Comment:

comments to HTML coding style

Legend:

Unmodified
Added
Removed
Modified
  • CodingStyle

    v11 v12  
    137137PHP scripts should output HTML 4.01, not XHTML. XHTML isn't supported by many browsers. Serving XHTML with a text/html MIME type is not a solution either (it's not XHTML anymore, it becomes invalid HTML).
    138138
    139 This means no self-closing tags like `<br/>`.
     139This means no self-closing tags like `<br />`.
     140
     141{{{
     142#!comment
     143"XHTML isn't supported by many browsers." - please point at least one; IE 7, IE 8, FF 2+, FF 3+, Opera 9+ support XHTML Safari 3+; those browsers are used by +98% of peoples so where is problem? HTML 4.01 is obsolete - it was designed in 1999...
     144}}}
     145
    140146
    141147=== Getting POST and GET data ===