+ 1

What does <! - - comment - - > do?

I still don't get it. Can someone explain it more?

22nd Sep 2018, 8:54 PM
Deven Alexandro William
1 Resposta
+ 1
It simply does nothing, it is to make code easier to read. Example: <svg height="100" width="100"> <circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red" /> Sorry, your browser does not support inline SVG. </svg> <! -- draws a red circle with black outline-->
22nd Sep 2018, 8:59 PM
CodeMStr
CodeMStr - avatar