Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAdam La Morre
365 PointsWhile creating a Website, what do you do to add side comments in your html code? Is it not // like java???
Thanks
2 Answers
Erik McClintock
45,783 PointsAdam,
HTML comments are made as follows:
<!-- add your comment here -->
Erik
Toshi Sosa
8,004 PointsFunny, "" disappeared when it's posted. So I meant in between "/" and "*/" will be commented out.
Toshi Sosa
8,004 PointsStar disappeared again! /star (your comments) star/ "star" as "shift-8 key"
Toshi Sosa
8,004 PointsToshi Sosa
8,004 PointsYou can use /(your comments)/