- 1

confused

<simply writing this> works as a omment

1st Jun 2017, 2:48 AM
Abhilekh Dowerah
Abhilekh Dowerah - avatar
3 Réponses
+ 9
It don't works as a comment: it just be ignored by browser, as comment but will fail validation and could produce unpredictive behaviour ( random issues according to browser used ), while comment ( <!-- this is a valid comment --> ) are ignored ( always, with any browser ) and code is still valid Html ^^
1st Jun 2017, 3:16 AM
visph
visph - avatar
+ 2
Looking at your question i feel even more confused. What is <simply writing this>? What is omment? What do you want to ask actually?
1st Jun 2017, 2:56 AM
Calviղ
Calviղ - avatar
+ 1
@calvin just write like this <this is a comment> and check it
1st Jun 2017, 2:58 AM
Abhilekh Dowerah
Abhilekh Dowerah - avatar