Benct Philip Jonsson scripsit:

> >8) Don't wrap scripts in comment markers (<!-- ... -->).
> Hw n, or why not as you say in English?

Because in XML, that makes the script into a comment, and then the
application may or may not actually get to look at it.  In HTML proper,
the script and style elements are given a special content type CDATA
(not to be confused with CDATA in attributes), which means that & and
< can be used freely inside, and only </ terminates it.  This is not
the case in XML, which does not have the CDATA content type.

The purpose for using the comment marker within the script and style
elements in HTML is to make down-level browsers that don't understand
these elements suppress displaying their contents.  It's an obsolete
habit these days anyhow.

John Cowan  [log in to unmask]
In might the Feanorians / that swore the unforgotten oath
brought war into Arvernien / with burning and with broken troth.
and Elwing from her fastness dim / then cast her in the waters wide,
but like a mew was swiftly borne, / uplifted o'er the roaring tide.
        --the Earendillinwe