Differences between version 11 and predecessor to the previous major change of RealWorldWebCompliance.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 11 | Last edited on Monday, May 9, 2005 3:13:25 pm | by JohnMcPherson | Revert |
Older page: | version 10 | Last edited on Tuesday, November 16, 2004 12:29:17 am | by AristotlePagaltzis | Revert |
@@ -15,13 +15,13 @@
* Don't put stuff in a table without <tt><td></tt> tags around it (IE displays it, Moz might not).
* Don't put tooltips in the <tt>alt</tt> attribute. They belong in <tt>title</tt>.
* Be careful with your comments:
* Don't use <tt><!--</tt> and <tt>--></tt> in <tt><script></tt> tags without making sure they are matched. InternetExplorer won't care, but [Mozilla] will consider the rest of your page commented out.
- * The popular <tt><!----------></tt> style "separators" are dangerous. With an odd numbers of dashes, the comment does not close, so the rest of your page will be commented out. Best to avoid any more than single dashes altogether inside comments.
+ * The popular <tt><!----------></tt> style "separators" are dangerous. With an odd numbers of dashes, the comment does not close, so the rest of your page will be commented out. Best to avoid any more than single dashes altogether inside comments. (Actually, <! ... > is a __declaration__, and --...-- inside a declaration is a comment. So, putting -- inside it actually closes your comment, and another -- starts a new comment. So only use double dashes at the start and end of the comment!)
* Don't use <tt>document.all</tt> in your JavaScript
* Don't use MSXMLDOC
See a [great guide on the specifics | http://nexgenmedia.net/evang/iemozguide/] and the [Mozilla Web Author FAQ | http://www.mozilla.org/docs/web-developer/faq.html].
!! Should I support Netscape any more?
If you support [Mozilla], you're supporting Netscape 7 and up. These days it's realistic to drop support for any version of Netscape 4 or below.