Comment Syntax: Difference between revisions
Jump to navigation
Jump to search
(→C: CSS: add Conditional Comments for IE) |
mNo edit summary |
||
| Line 1: | Line 1: | ||
程式的註解語法 << [[Testing]] | 程式的註解語法(Comment Syntax) << [[Testing]] | ||
==C: CSS== | ==C: CSS== | ||
Revision as of 23:17, 25 August 2011
程式的註解語法(Comment Syntax) << Testing
C: CSS
CSS Code: viewable when user view the HTML source code
/* multiple lines comments */
Conditional Comments for IE
D: DOS
DOS Command Code:
REM [comment] ex: REM single line comment
H: HTML
HTML Code: viewable when user view the HTML source code
<!-- This is an HTML Comment --> <!-- multiple lines -->
J: Javascript
Javascript Code: viewable when user view the HTML source code
//single line comment /* multiple lines */
P: Perl, PHP
Perl Code:
#single line comment
PHP Code: not viewable when user view the HTML source code
# single line comment // another single line comment /* multiple lines */
S: SIKULI, SQL
SIKULI Code:
#single line comment
SQL Command / MySQL Comment Syntax (MySQL 5.0):
/* multiple lines */
X: XML
XML Code:
<!-- multiple lines -->
Reference