0

What is comment tag and why we use it ???

I also search on internet but didn't get it.

15th Sep 2018, 11:02 AM
Alfaiz Khan™
Alfaiz Khan™ - avatar
5 odpowiedzi
+ 2
This should give you an overview of the reasons why code should be commented: https://en.wikipedia.org/wiki/Comment_(computer_programming)
15th Sep 2018, 11:37 AM
Janning⭐
Janning⭐ - avatar
+ 1
Do you mean comment tag "<!-- Some text -->" in HTML?
15th Sep 2018, 11:27 AM
Vojtěch Novák
Vojtěch Novák - avatar
+ 1
The comment tag(<!-- ............-->)is used to explain what you did or to make a summary of your code e.g.: <!DOCTYPE HTML> <html> <head> </head> <body> <p> some text<!-- used this to output "some text" --></p> </body> </html>
16th Sep 2018, 12:11 AM
Joaquin Nievas
Joaquin Nievas - avatar
0
yup
15th Sep 2018, 11:27 AM
Alfaiz Khan™
Alfaiz Khan™ - avatar
0
I am just a beginner
15th Sep 2018, 11:27 AM
Alfaiz Khan™
Alfaiz Khan™ - avatar