What are comments in HTML? How is it given in a code?
Answers
Answered by
7
comment are used for describing the code ...
to explain how your code work... if next time
you work on same code then you easily understand logic of your code
comments are not display on web page..
syntax: <!-- hello(or anything you want write) -->
to explain how your code work... if next time
you work on same code then you easily understand logic of your code
comments are not display on web page..
syntax: <!-- hello(or anything you want write) -->
Answered by
0
Comments are used for describing the code you have written.
you can add comment in many ways
comments are hidden when viewed in a browser
one is mentioned below
//comments here
Similar questions