0

What purpose we use <!--This a comment-->

9th Jun 2017, 2:30 PM
bharathiar
bharathiar - avatar
4 Answers
+ 2
You're right. To comment it.
9th Jun 2017, 2:35 PM
CalviÕ²
CalviÕ² - avatar
+ 1
It is an explanatory way to make the code user-friendlyā€‹
9th Jun 2017, 2:35 PM
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ 
ŠœŠ³. ŠšŠ½Š°ŠæšŸŒ  - avatar
9th Jun 2017, 2:43 PM
Mario L.
Mario L. - avatar
0
With a comment you can also define specific sections like after the main section in your html you can write <! - - End main section - - > so it's not only user friendly, also other developers can read the code better. And if you want to test some lines of code and are not sure if you need/want that you can put that code into a <! - - "lines of code" - - >
9th Jun 2017, 9:26 PM
Kai K.
Kai K. - avatar