- From: Tim Morgan <morgant@stu.beloit.edu>
- Date: Fri, 24 Sep 2004 10:22:49 -0500
- To: <www-validator@w3.org>
The error message claims that all HTML tags are unclosed when those tags are actually part of a JavaScript string. For example, the code snippet: <script language="JavaScript" type="text/javascript"> <!-- if( -1 != navigator.userAgent.indexOf ("MSIE") ) { document.writeln("<p class=\"footer\"><b>NOTE:</b> You are using Microsoft Internet Explorer to view this page.</p>"); } --> </script> Will produce the following incorrect errors: - Tag </b> is closed but never was opened - Tag </p> is closed but never was opened Tim Morgan
Received on Friday, 24 September 2004 15:25:47 UTC