Comments

HTML Comments

Comments allow us to annotate code, or remove code from being rendered

Note: Comments are still printed in the DOM and are viewable in the dev tools

Example:

<!-- Hello this is a single line comment -->
<!-- Hello this
is a
multi line
comment -->

Hide elements

div one
div three
<div>div one</div>
<!-- <div>div two (commented out)</div> -->
<div>div three</div>