How can i include comments in HTML?
Recommended Answers
Jump to Post
<!-- comment -->
Jump to PostIt's begins with "<!--", ends with "-->", and does not contain "--" or ">" anywhere in the comment. Example: * <!-- This is a comment. →
Jump to PostThere are 3 ways you can enter comments
Within an HTML code:
<!-- comment -->
and
/comment/ in CSS and most languages
also
//for single line comments
Jump to PostThats
/* comment */
for css
Jump to PostCan I suggest that we stop posting here unless there is something new to say. I think it's been repeated ad nauseum that format for html comments is:
<!-- whatever you want one-liner -->
and
<!-- whatever you want multiline -->
So …
All 22 Replies
code_rum 8 Junior Poster in Training
annaharris 0 Junior Poster in Training
jackmia404 0 Newbie Poster
crescendo 12 Junior Poster in Training
TonyG_cyprus 36 Newbie Poster
almostbob 866 Retired: passive income ROCKS
madelinekim 0 Newbie Poster
zeeshanaayan07 0 Newbie Poster
almostbob 866 Retired: passive income ROCKS
stultuske 1,116 Posting Maven Featured Poster
almostbob 866 Retired: passive income ROCKS
L-D 0 Newbie Poster
garyson02 0 Newbie Poster
mikespencer 0 Newbie Poster
BMXDad 23 Newbie Poster
Amol555 -6 Junior Poster in Training
amrita111 4 Light Poster
B0716L 0 Light Poster
rajoan54 0 Newbie Poster
IIM 163 Master Poster
almostbob 866 Retired: passive income ROCKS

diafol
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.