SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Aug 2001
    Location
    Los Angeles, CA
    Posts
    346
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    What are the <!-- and // --> called???

    I know what the <!-- and // --> do in a script, but what are they called? I've never heard a name for them, and personally I have always referred to them as "passover signals", because they make old browsers who can't read code in between the <!-- and // --> skip it all so errors won't come up.

    A proper name for these would help-

    Thanks

  2. #2
    SitePoint Enthusiast
    Join Date
    Jan 2002
    Location
    San Diego, Cali
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Those are called "comment tags", or the comment attribute. It can be used for what you described, or just leaving a note.

    Example:

    <--! The following script is copyright 2002, Blah Blah, Inc. -->

    --Jim---
    Catch me if you can.

  3. #3
    SitePoint Addict
    Join Date
    Aug 2001
    Location
    Los Angeles, CA
    Posts
    346
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Really? Just "comment" tags? Wow. Thought they would have a special name or something.

    Thanks-


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •