Adding Comments to HTML and CSS

3d Animation

If you want to add comments to a HTML file, either for structural notes, tips or to comment out code please use the code below. The same applies to adding comments to CSS files.


Adding comments CSS

Use - /* put your comment here */

Adding comments HTML

<!-- Add comment here -->