+ 1

How to write comments?

Can I define a comment myself ?

25th Feb 2017, 7:54 PM
Nirmal Kakati
Nirmal Kakati - avatar
8 Respostas
+ 7
no, you can't define syntax for commenting
25th Feb 2017, 9:05 PM
Norayr Gasparyan
Norayr Gasparyan - avatar
+ 2
depends the language c++ is // test Python is # test
25th Feb 2017, 8:39 PM
Trey Sarver
Trey Sarver - avatar
+ 2
java and C: myfunc (6) //That's a comment java and C /*That's also a comment!*/
25th Feb 2017, 9:34 PM
André Morales
André Morales - avatar
+ 1
for which language are you asking like Java or c++ etc.?. your question is incomplete.
25th Feb 2017, 7:59 PM
sourabh Jhamnani
sourabh Jhamnani - avatar
+ 1
Sorry. That's for HTML.
25th Feb 2017, 8:01 PM
Nirmal Kakati
Nirmal Kakati - avatar
+ 1
<!-- this comment -->
25th Feb 2017, 8:02 PM
Albertz
Albertz - avatar
0
Comment Tag <!–your comment here –> This element is used to add acomment to an HTML document. 
25th Feb 2017, 8:02 PM
sourabh Jhamnani
sourabh Jhamnani - avatar
0
Yup . I understand the Syntax. but Let me know whether i can use a self define question or not?
25th Feb 2017, 8:05 PM
Nirmal Kakati
Nirmal Kakati - avatar