|
Posted by cwdjrxyz@yahoo.com on 11/06/05 19:02
cwdjrxyz@yahoo.com wrote:
> Dung Ping wrote:
> > I need to place comment tags around some meta elements, those <meta . .
> > .>. Are the tags <!-- -->, or /* */ or //?
>
> Others have rightly said to use <!-- --> for html comments. The pair /*
> */ is used to enclose multi-line comments within a javascript or CSS
> style sheet. The // often is used just before a javascript comment that
> ends on a single line. Using the wrong types of comments in html,
> script, or CSS sections sometimes causes problems.
The html-type comment tag <!-- I am a comment. --> also is used in a
SMIL 2 program that is contained between <smil> and </smil> tags. SMIL
is an XML language. While most browsers will not support full SMIL 2
directly, the most recent Real players have nearly complete W3C SMIL 2
support built in, and add-on programs for SMIL support are available.
SMIL is a very powerful XML language designed for media presentations.
[Back to original message]
|