Home >Backend Development >PHP Problem >How to comment in HTML, JS, PHP, MySQL?

How to comment in HTML, JS, PHP, MySQL?

autoload
autoloadOriginal
2021-03-08 17:46:431952browse

# 1. HTML Note

# & LT;!-HTML Note-& GT;

2.CSSComments

            /*CSS Comments*/

  3.Javascript Comment

  • ##Single-line comment: //Single-line comment

  • Multi-line comment: /*Multi-line comment*/

4.MySQLComments

    ##Single-line comments: --Single-line comments
  • Multi-line comments: /*Multi-line comments*/
5.

PHPComments

    Single-line comments: //Single-line comments
  • Multi-line comments: /*Multi-line comments*/


## 6.

Smarty

Comments


           

Single-line comment: {* This is a comment*}

##                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                   Multi-line php video tutorial

The above is the detailed content of How to comment in HTML, JS, PHP, MySQL?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn