- From: Martin Vičánek <M.Vicanek@seznam.cz>
- Date: Fri, 19 Aug 2005 20:26:23 +0200 (CEST)
- To: www-validator@w3.org
- Cc:
Why is not this code valid? <SCRIPT type="text/javascript"> if (navigator.appName != 'Microsoft Internet Explorer') document.write ("<style>#menu LI.main A {display : block}</style>"); </SCRIPT> Error Line 134 column 65: end tag for element "STYLE" which is not open. ....te ("<style>#menu LI.main A {display : block}</style>"); The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem. If this error occured in a script section of your document, you should probably read this FAQ entry.
Received on Saturday, 20 August 2005 08:37:58 UTC