In HTML we can comment out our code by using the comments tags. In this post we will see an example of how to add comments.
SOLUTION
Similar to other tags in HTML that have opening and closing tags; the comments are enclosed between the following symbols:
comments.html
The comments are used by the coder for the coder. Usually to document the code. The coder might be another person that wants to read and understand our code. Any code enclosed by the <!– and –> is being ignored by the web browser, i.e. it skips it, doesn’t render it.
For example, sometimes we might want to comment out a piece of HTML code for testing purposes. In this case, it will be skipped and nothing will be shown to the user interface.