+ 1

does the "--" necessary in HTML comment?

<! This is a comment> is this ok ? Or has to be like <!-- This is a comment -->

3rd Jun 2017, 5:09 AM
AnimaSting
AnimaSting - avatar
1 Resposta
+ 11
"<!--" is the full opening tag, and "-->" is the full closing tag. So no, you can't remove the dashes.
3rd Jun 2017, 5:11 AM
Tamra
Tamra - avatar