Different ways of putting comments per file type on the World Wide Web exist.
Comments help the code developer explain quickly to third-party developers, designers, users, or even himself why he used that line of code and what function it performs in that web application.
So it is convenient to know how to put comments in your files in PHP, CSS & HTML.
Here is an example of how you will put comments in ‘HTML’ & ‘PHP’ pages (outside of the PHP code) & it will look like this:
<!-- comment here about what is going on -->Comments inside of PHP code look like this:
<?php the_excerpt(); // Show excerpt and not full post content ?>(more…)








