+ 1

<--! --> what does it do??

13th Apr 2019, 10:52 AM
prabesh
12 odpowiedzi
0
Yeah exactly D_shark..but why we use it?
13th Apr 2019, 11:00 AM
prabesh
+ 8
It’s for HTML comments, it does not effect your output
13th Apr 2019, 1:58 PM
JTLZ
+ 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
14th Apr 2019, 11:36 PM
Danyo Joe Crews Kumi Junior
Danyo Joe Crews Kumi Junior - avatar
+ 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.
13th Apr 2019, 11:22 AM
D_Stark
D_Stark - avatar
+ 3
Its used for Html comments
13th Apr 2019, 10:57 AM
D_Stark
D_Stark - avatar
+ 1
They are like notes to readers of the code
13th Apr 2019, 1:28 PM
Sonic
Sonic - avatar
0
What does comment do in html
13th Apr 2019, 11:16 AM
prabesh
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.
13th Apr 2019, 2:38 PM
Daniel Yuki
Daniel Yuki - avatar
0
silences a comment ?
15th Apr 2019, 12:01 AM
Willie Lee Freshour
Willie Lee Freshour - avatar
0
I thought HTML comments had this format: <!-- --> only, not the one in question.
15th Apr 2019, 7:32 AM
KING
KING - avatar
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.
24th Dec 2019, 2:16 AM
Ingrid Lindstrom
Ingrid Lindstrom - avatar