Tachira New member Joined Mar 15, 2014 Messages 4 Points 0 Mar 8, 2015 #1 Hi everyone, Sometimes I get confused with comment out in html, css, javascript and php Could you show me any way to use exact comment out in these programming languages? Thank much!
Hi everyone, Sometimes I get confused with comment out in html, css, javascript and php Could you show me any way to use exact comment out in these programming languages? Thank much!
elcidofaguy Well-known member Joined Jan 13, 2015 Messages 1,281 Points 113 Mar 8, 2015 #2 PHP use either: // Line by line comment The below works for PHP and CSS: /* Multiple lines .... second line etc .... */ /*Or on a single line*/ For HTML (works on multiple lines also): <!-- Comment -->
PHP use either: // Line by line comment The below works for PHP and CSS: /* Multiple lines .... second line etc .... */ /*Or on a single line*/ For HTML (works on multiple lines also): <!-- Comment -->
Hassan New member Joined Nov 11, 2014 Messages 706 Points 0 Mar 9, 2015 #3 HTML comment Code: <!-- <code> --> CSS, JavaScript, and PHP Comments Code: // <code> or Code: /* <code1> <code2> <code3> */
HTML comment Code: <!-- <code> --> CSS, JavaScript, and PHP Comments Code: // <code> or Code: /* <code1> <code2> <code3> */