+ 6

COMMENTS IN HTML

Does html language require a comment ?

25th Jul 2019, 6:32 AM
Evans Runyah
Evans Runyah - avatar
9 odpowiedzi
+ 5
Evans Runyah Every language has its own comments In HTML the comment is specified inside <!-- --> Comments are important for every programmer because if anyone visits their code, comments makes them readable and also for many things Does html language require a comment ? Yeah HTML too need its comments
25th Jul 2019, 10:01 AM
deeyae
deeyae - avatar
+ 11
Yes, it's useful to understand a code by other user.
25th Jul 2019, 12:31 PM
Rajnish Kush
Rajnish Kush - avatar
+ 5
<!-- any thing written here will be a comment -->
25th Jul 2019, 9:07 AM
Muhammad Idrees 🇵🇰
Muhammad Idrees 🇵🇰 - avatar
+ 5
Not required but good to have occasionally.
25th Jul 2019, 10:17 AM
Sonic
Sonic - avatar
+ 5
<!-- write your comment here -->
8th Aug 2020, 6:01 AM
Sakshi💕
Sakshi💕 - avatar
+ 1
Thanks
29th Jul 2019, 3:26 PM
Evans Runyah
Evans Runyah - avatar
+ 1
<!-- You comment text -->
16th Oct 2020, 2:33 PM
Hicham
Hicham - avatar
0
/**helloo*/
5th Aug 2019, 2:45 AM
Ramiro Farias
Ramiro Farias - avatar
0
Every language has its own comments for better understanding of program.. Here, in HTML we use <!-- -->
11th Apr 2020, 3:49 PM
Priyanka Jadhav
Priyanka Jadhav - avatar