Home › Forums › CSS › How to put guide comments inside of HTML files? › Re: How to put guide comments inside of HTML files?
March 31, 2013 at 6:24 am
#130265
Participant
I would suggest commenting the crap out of your code (which ever language it may be), however, like Paulie_D mentioned, it does at weight to your page. Have a copy just for you which is commented, and whatever you put into production just strip out the comments.
Most of the time (lol…) you dont really need to comment out html or css because developers can read it just fine and understand what you are doing (that only goes for somewhat well written html). Now for javascript, comments are nice because it allows other devs to reference variables, functions, etc.