2738Re: [jslint] JSLinting HTML document with HTML comment at start
- Jan 16, 2012On Mon, Jan 16, 2012 at 9:50 AM, Martin Cooper <mfncooper@...> wrote:
> **It is valid according to the HTML spec., but IE doesn't like it.
> On Mon, Jan 16, 2012 at 6:30 AM, cse_html_validator <alhome@...>
> > It seems JSLint cannot check an HTML document if there is an HTML
> comment at the beginning of the document. Can this be fixed or is there a
> way around it?
> The DOCTYPE must be the very first thing in the document, so a comment
> before the DOCTYPE is not valid.
R. Mark Volkmann
Object Computing, Inc.
[Non-text portions of this message have been removed]
- << Previous post in topic Next post in topic >>