+ 1

Can anyone tell about what is comment tag in html???with best example

5th Apr 2021, 5:26 AM
Mukesh.G
Mukesh.G - avatar
6 odpowiedzi
+ 3
See the third slide on this lesson https://www.sololearn.com/learn/HTML/1027/?ref=app
5th Apr 2021, 5:39 AM
Ipang
+ 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.
5th Apr 2021, 5:38 AM
SAN
SAN - avatar
+ 1
Would you please give some example???
5th Apr 2021, 5:43 AM
Mukesh.G
Mukesh.G - avatar
0
There is an example in that slide bro, go check it out.
5th Apr 2021, 5:50 AM
Ipang
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>
5th Apr 2021, 8:04 AM
Parth Shendge
0
You can use the text enclosed within < ! ╌ ╌> tags. https://tech-sujit.blogspot.com for HTML Comment tag. this process of HTML tags.
5th Aug 2022, 11:13 AM
Ethan Smith
Ethan Smith - avatar