1119Re: [jslint] no comments before html root element?
- Feb 9, 2010On Tue, Feb 9, 2010 at 4:05 PM, Stefan Weiss <weiss@...> wrote:
>A quick search returns:
> On 09/02/10 07:30, Cheney, Edward A SSG RES USAR USARC wrote:
> >> I'm pretty sure that should be valid.
> > Then you would be wrong.
> Do you have a source for that statement? Where does it say that comments
> aren't allowed before the html root element?
As with any code, it's a good idea to document your work so that other
programmers can understand it. A comment begins with the combination of
characters "<!--" and ends with the combination of characters "-->".
Comments may appear as a child of any element in an XML document. * They can
also appear before or after the root element.* A comment may span multiple
lines but cannot be nested. The following example includes a comment that
identifies the parts of a bicycle.
[Non-text portions of this message have been removed]
- << Previous post in topic Next post in topic >>