+ 1
Can anyone tell about what is comment tag in html???with best example
6 Answers
+ 3
See the third slide on this lesson
https://www.sololearn.com/learn/HTML/1027/?ref=app
+ 2
<!- --> is an HTML comment tag. To comment out in HTML, insert information between <! -- and --> tags (browsers won't show these notes). Commenting in HTML allows developers to leave notes about their code, its functionality or to indicate necessary changes for the future.
+ 1
Would you please give some example???
0
There is an example in that slide bro, go check it out.
0
Suppose if you want to tell the reader of the code that the line written below calls a function . If you want to add such notes in your code , you cannot simply type it . Because the browser will display your notes on the webpage. To avoid this we use comments. Like:-
<!--Calling a function -->
<button onclick="function ()"></button>
0
You can use the text enclosed within < ! â â> tags. https://tech-sujit.blogspot.com for HTML Comment tag. this process of HTML tags.