0

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

29th Apr 2019, 9:34 AM
Nafiyeen Hossain
2 ответов
+ 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