Why is the "!" used for the comments? What does it mean? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why is the "!" used for the comments? What does it mean?

28th Jul 2015, 5:51 AM
Gabrielle Do
Gabrielle Do - avatar
6 Answers
+ 5
Comments are generally used in say something you want to place there for later use example would be : <html> <body> <h1>My Webpage</h1> <p>My paragraph</p> <h3>My Tasks</h3> <!--- Add a ul list under h3 tag--> </body> </html> ... These comments are used to tell you something you wanted to do later on or state in your code what a certain code block is doing. The ! Is just a declarative used to comment out something you want.
22nd Aug 2015, 2:28 PM
Katsu Wolf
Katsu Wolf - avatar
+ 1
how does this answer the question?
2nd Jun 2016, 10:47 AM
prathamesh malpani
prathamesh malpani - avatar
+ 1
how do you expected it be answered, give it a trial.
4th Jun 2016, 8:05 AM
Cele Prince
Cele Prince - avatar
+ 1
in HTML it us used to document what is going on in the code. HTML is prett self explanitory, but make it a habit to comment on your code. In programming languages like java and C# it has a different meaning.
5th Jun 2016, 1:35 AM
Josue Flores
Josue Flores - avatar
+ 1
They are excited for life.
26th Jul 2016, 2:58 AM
Bella
+ 1
hahah..Bella.. :D
26th Jul 2016, 3:03 AM
prathamesh malpani
prathamesh malpani - avatar