0

Why a comment is written by(<!-- -->)

29th Apr 2019, 9:34 AM
Nafiyeen Hossain
2 Answers
+ 2
Hi! First because every thing in HTML is Markup (so, use <...>). Second, we use "!" to indicate to browsers that is an information tag (don't need to write in the page, like in <!doctype html>). Third, yes some peoples decided that is better to use "--" at end than "//" or "/* ... */" (probably to not make any confusionā€¦ but who knows ?)
22nd Sep 2019, 6:32 PM
Oneill~ŠžŠ½ŠµŠøŠ»Š»~億尼尔~ą¤“ą¤Øą„€ą¤²~Ų§ŁˆŁ†ŪŒŁ„~*ā€Ž
Oneill~ŠžŠ½ŠµŠøŠ»Š»~億尼尔~ą¤“ą¤Øą„€ą¤²~Ų§ŁˆŁ†ŪŒŁ„~*ā€Ž - avatar
+ 3
Because some group decided that this is the way it has to be done in html.
29th Apr 2019, 9:51 AM
Dragonxiv
Dragonxiv - avatar