+ 1
<--! --> what does it do??
12 Respuestas
0
Yeah exactly D_shark..but why we use it?
+ 8
It’s for HTML comments, it does not effect your output
+ 8
It is used to for comments in HTML
look at this code maybe it will help you
👇
https://code.sololearn.com/WW6SgwjxY3C8/?ref=app
+ 4
<--! below is the canvas element that has an opening and closing tag -->
<canvas></canvas>
see i commented on the code to remind me what its doing and that it nothing more.
+ 3
Its used for Html comments
+ 2
Comments help you to find your way around your code. They have no effect on the Output :)
+ 1
They are like notes to readers of the code
0
What does comment do in html
0
Comments makes the code more readable for everyone who's looking at it.
Simply it is a way to explain your code without changing the final results.
0
silences a comment ?
0
I thought HTML comments had this format: <!-- --> only, not the one in question.
0
They are like “speaker notes” in Keynote! A place for you to remind yourself what elements you want to include, or the purpose of the particular element.