如何在JavaScript中添加注释?()A、' This is a commentB、!--This is a comment--C、//This is a comment
如何在JavaScript中添加注释?()
- A、' This is a comment
- B、<!--This is a comment-->
- C、//This is a comment
相关考题:
下列正确地在CSS文件中插入注释的语句是( )。A.//this is a commentB.//this is a comment//C./*this is a comment*/D.this is a comment
有关JavaScript语句,下列说法正确的是()A、单行注释语句是在需要注释的行前面用//B、多行注释语句是在需要注释的文字两端加/* 注释文字*/C、with语句的功能是为一段程序建立默认对象D、JavaScript中没有if...else语句E、JavaScript中只有while语句,而没有do...while语句
XML中的注释(COMMENT)用来对程序进行解释说明,XML处理器不对它们进行任何处理,那么在XML中对文本进行注释的正确方法是()。A、/*文本*/B、//文本C、%文本D、!--文本--
下面()是JAVA语言中的有效注释。A、/this is a comment/B、--this is a commentC、this is a commentD、/--this is a comment
如何在CSS文件中插入注释()A、//this is a commentB、//this is a comment//C、/*this is a comment*/D、this is a comment
可插入多行注释的 JavaScript 语法是?()A、 /*This comment has more than one line*/ B、 //This comment has more than one line// C、 !--This comment has more than one line--
在CSS样式文件中的注释正确的是()。A、// this is a comment //B、// this is a commentC、/* this is a comment */D、/’ this is a comment
单选题XML中的注释(COMMENT)用来对程序进行解释说明,XML处理器不对它们进行任何处理,那么在XML中对文本进行注释的正确方法是()。A/*文本*/B//文本C%文本D!--文本--
单选题在CSS样式文件中的注释正确的是()。A// this is a comment //B// this is a commentC/* this is a comment */D/’ this is a comment
单选题下面()是JAVA语言中的有效注释。A/this is a comment/B--this is a commentCthis is a commentD/--this is a comment
单选题可插入多行注释的 JavaScript 语法是?()A /*This comment has more than one line*/ B //This comment has more than one line// C !--This comment has more than one line--
( 难度:中等)如何在 JavaScript 中添加注释A.This is a commentB.<!--This is a comment-->C.//This is a commentD./*This is a comment*/