comments in HTML

Discussion in 'HTML & Website Design' started by orionrock, Jul 11, 2013.

  1. #1
    How can I include comments in HTML...
     
    orionrock, Jul 11, 2013 IP
  2. michaeldim

    michaeldim Greenhorn

    Messages:
    32
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    18
    #2
    Hi,
    http://www.commentics.org/
    I use this script, you can install to your site (but it is in php and needs Mysql)
     
    michaeldim, Jul 11, 2013 IP
  3. toolman

    toolman Active Member

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    86
    #3
    <!-- comments -->
     
    toolman, Jul 11, 2013 IP
  4. michaeldim

    michaeldim Greenhorn

    Messages:
    32
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    18
    #4
    lol, did you mean comment inside the code? I suppose is too easy to find with a search
     
    michaeldim, Jul 11, 2013 IP
  5. Adam Morris

    Adam Morris Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #5
    <!-- insert comment here -->
     
    Adam Morris, Jul 11, 2013 IP
  6. scottlpool2003

    scottlpool2003 Well-Known Member

    Messages:
    1,708
    Likes Received:
    49
    Best Answers:
    9
    Trophy Points:
    150
    #6
    Just note that unlike PHP, HTML comments are visible in the source code.
     
    scottlpool2003, Jul 11, 2013 IP
  7. visualed

    visualed Greenhorn

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #7
    HTML: <!-- comment -->
    CSS: /* comment */
    PHP: # / //
     
    visualed, Jul 11, 2013 IP
  8. Marina Thom

    Marina Thom Greenhorn

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #8
    <!-- Comments -->
     
    Marina Thom, Jul 12, 2013 IP
  9. qsearch

    qsearch Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #9
    your website will load slower if it include comments
     
    qsearch, Jul 16, 2013 IP
  10. GMF

    GMF Well-Known Member

    Messages:
    855
    Likes Received:
    113
    Best Answers:
    19
    Trophy Points:
    145
    #10
    any source to back that up? I never heard that (moderate use of) comments would slow down a page :confused:
     
    GMF, Jul 16, 2013 IP
  11. qsearch

    qsearch Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #11
    when I write code, I use comments, but when I up to the Host, I usually delete all comment
     
    qsearch, Jul 16, 2013 IP
  12. GMF

    GMF Well-Known Member

    Messages:
    855
    Likes Received:
    113
    Best Answers:
    19
    Trophy Points:
    145
    #12
    That's fine and dandy, but not really a source to back up your previous claim.
     
    GMF, Jul 16, 2013 IP
    sarahk likes this.
  13. farahshamsi1

    farahshamsi1 Greenhorn

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #13
    You can add comments in HTML as well as in every language such as php , jave script,
    you can give the comments in HTML language as follow,
    <!-- comments --> you can put the comments in the place of word comments.
     
    farahshamsi1, Jul 16, 2013 IP