Changes between Version 10 and Version 11 of CodingStyle
- Timestamp:
- Aug 14, 2008, 3:35:41 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodingStyle
v10 v11 135 135 === HTML === 136 136 137 It's OK to output HTML rather than XHTML.138 I have yet to hear a convincing reason for the latter, 139 and it's more characters.137 PHP 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). 138 139 This means no self-closing tags like `<br/>`. 140 140 141 141 === Getting POST and GET data ===