引用名为“xxx.js”的外部脚本的正确语法是()A、<script src="xxx.js">B、<script href="xxx.js">C、<script name="xxx.js">

题目

引用名为“xxx.js”的外部脚本的正确语法是()

  • A、<script src="xxx.js">
  • B、<script href="xxx.js">
  • C、<script name="xxx.js">

相似考题
更多“引用名为“xxx.js”的外部脚本的正确语法是()A、script src="xxx.js"B、script href="xxx.js"C、script name="xxx.js"”相关问题
  • 第1题:

    The operator needs to execute a long-running shell script. How can the script be executed so the operator does not have to wait until it is complete to access the command prompt?()

    A. ./script.ksh

    B. nohup ./script.ksh

    C. run -b ./script.ksh

    D. ./script.ksh > nohup.out


    参考答案:A

  • 第2题:

    下列网页制作脚本语句中,能弹出如图12所示对话框的是()。



    A.<script language=″JavaScript″>alert(″欢迎参加信息技术学科考试!″);</script>

    B.<script language=″JavaScript″>confirm(″欢迎参加信息技术学科考试!″);</script>

    C.<script language=″JavaScript″>prompt(″欢迎参加信息技术学科考试!″);</script>

    D.<script language=″JavaScript″>window.open(″欢迎参加信息技术学科考试!″);</script>

    答案:A
    解析:
    IavaScrlpt中alert()是弹出警告框,显示文本信息。confirm()是弹出确认框,会返回布尔值,通过这个值可以判断点击时确认还是取消。prompt()的作用是弹出输入框,点击确认返回输入框中的值。

  • 第3题:

    在Web页面中加入VBScript代码,其代码必须放在()

    • A、

      <Script>和<End Script>标记之间

    • B、<Begin Script>和<End Script>标记之间
    • C、<\Script>和</Script>标记之间
    • D、<Script>和</Script>标记之间

    正确答案:B

  • 第4题:

    What can help expose problems with script logic or validity by simulating the execution of a script?()

    • A、Alarm and Trace Configuration  
    • B、debug session  
    • C、script validation  
    • D、script refresh

    正确答案:B

  • 第5题:

    Which of the following is a good choice to use a process application monitor?()

    • A、 A process stated by cron
    • B、 A shell script owned by a non-root user
    • C、 A process with a specific name and owner
    • D、 An application defined to SRC without the restart (-O) flag

    正确答案:C

  • 第6题:

    The operator needs to execute a long-running shell script. How can the script be executed so the operator does not have to wait until it is complete to access the command prompt?()

    • A、./script.ksh
    • B、nohup ./script.ksh
    • C、run -b ./script.ksh
    • D、./script.ksh > nohup.out

    正确答案:A

  • 第7题:

    Given the script   create script db_backup_datafile_script  {backup datafile and 1, and2 plus archivelog delete input;} Run {execute script db_backup_datafile_script using 2;}   What is the result of running this command?()  

    • A、 The script will fail since you instructed RMAN to back up only one datafile rather than two
    • B、 The script will successfully back up datafile 3 without error
    • C、 The script will fail since it uses a substitution variable which is not supported
    • D、 The execute script command will prompt for the value of and2 since it’s not included in the command
    • E、 The script will fail because you cannot use the plus archivelog command when backing up

    正确答案:D

  • 第8题:

    You have a Windows PowerShell script that contains the following code:   import-csv Accounts.csv | Foreach {New-ADUser -Name $_.Name -Enabled $true  -AccountPassword $_.password}     When you run the script, you receive an error message indicating that the format of the password  is incorrect. The script fails.     You need to run a script that successfully creates the user accounts by using the password  contained in accounts.csv.     Which script should you run()

    • A、import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true - AccountPassword (ConvertHost-
    • B、import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true - AccountPassword (ConvertTo-
    • C、import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true - AccountPassword (Read-To
    • D、import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true - AccountPassword (Read-Host

    正确答案:B

  • 第9题:

    单选题
    You have created a script in the recovery catalog called backup_database. Which of the following commands would successfully execute that script?()
    A

     run { open script backup_database; run script backup_database }

    B

     run { engage script backup_database; }

    C

     run { run script backup_database; }

    D

     Run { execute script backup_database; }

    E

     The name backup_database is an invalid name for an RMAN script. Trying to run it from RMAN would result in an error.


    正确答案: C
    解析: 暂无解析

  • 第10题:

    单选题
    Which of the following is a good choice to use a process application monitor?()
    A

     A process stated by cron

    B

     A shell script owned by a non-root user

    C

     A process with a specific name and owner

    D

     An application defined to SRC without the restart (-O) flag


    正确答案: D
    解析: 暂无解析

  • 第11题:

    单选题
    You have a Windows PowerShell script that contains the following code:   import-csv Accounts.csv | Foreach {New-ADUser -Name $_.Name -Enabled $true  -AccountPassword $_.password}     When you run the script, you receive an error message indicating that the format of the password  is incorrect. The script fails.     You need to run a script that successfully creates the user accounts by using the password  contained in accounts.csv.     Which script should you run()
    A

    import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true - AccountPassword (ConvertHost-

    B

    import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true - AccountPassword (ConvertTo-

    C

    import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true - AccountPassword (Read-To

    D

    import-csv Accounts.csv Foreach {New-ADUser -Name $_.Name -Enabled $true - AccountPassword (Read-Host


    正确答案: B
    解析: 暂无解析

  • 第12题:

    单选题
    在Web页面中加入VBScript代码,其代码必须放在()
    A

    <Script>和<End Script>标记之间

    B

    <Begin Script>和<End Script>标记之间

    C

    <\Script>和</Script>标记之间

    D

    <Script>和</Script>标记之间


    正确答案: C
    解析: 暂无解析

  • 第13题:

    若要获得当前正在执行的脚本所在页面的虚拟路径,以下用法中,正确的是()。

    A.Requst.ServerVariables(“SCRIPT_NAME”)

    B.ResponsE.ServerVariables(“SCRIPT_NAME”)

    C.Requst.ServerVariables(“PATH_TRANSLATED”)

    D.ResponsE.ServerVariables(“PATH_TRANSLATED”)


    参考答案:C

  • 第14题:

    下列不属于Script脚本插入方式的是()

    • A、在<body>标签插入Script脚本      
    • B、在<body>与</body>之间插入脚本Script脚本 
    • C、在<head>与</head>之间插入Script脚本      
    • D、在<head>标签插入Script脚本

    正确答案:D

  • 第15题:

    在当前页面的同一目录下有一名show.js的文件,下列()代码可以正确访问该文件。

    • A、〈script language=“JavaScript” language=“show.js”〉〈/script〉
    • B、〈script language=“JavaScript” type=“show.js”〉〈/script〉
    • C、〈script language=“JavaScript” src=“show.js”〉〈/script〉
    • D、〈script language=“JavaScript” runat=“show.js”〉〈/script〉

    正确答案:C

  • 第16题:

    HTML-based script与URL-based script的脚本有什么区别?


    正确答案: 使用“HTML-basedscript”的模式录制脚本,VuGen为用户的每个HTML操作生成单独的步骤,这种脚本看上去比较直观;使用“URL-basedscript”模式录制脚本时,VuGen可以捕获所有作为用户操作结果而发送到服务器的HTTP请求,然后为用户的每个请求分别生成对应方法。
    通常,基于浏览器的Web应用会使用“HTML-basedscript”模式来录制脚本;而没有基于浏览器的Web应用、Web应用中包含了与服务器进行交互的JavaApplet、基于浏览器的应用中包含了向服务器进行通信的JavaScript/VBScript代码、基于浏览器的应用中使用了HTTPS安全协议,这时使用“URL-basedscript”模式进行录制。

  • 第17题:

    引用名为 "xxx.js" 的外部脚本的正确语法是?()

    • A、<script src="xxx.js"> 
    • B、<script href="xxx.js"> 
    • C、<script name="xxx.js">

    正确答案:A

  • 第18题:

    You have created a script in the recovery catalog called backup_database. Which of the following commands would successfully execute that script?()  

    • A、 run { open script backup_database; run script backup_database }
    • B、 run { engage script backup_database; }
    • C、 run { run script backup_database; }
    • D、 Run { execute script backup_database; }
    • E、 The name backup_database is an invalid name for an RMAN script. Trying to run it from RMAN would result in an error.

    正确答案:D

  • 第19题:

    在IIS根目录中的Script目录是专门用来存放脚本文件的。


    正确答案:错误

  • 第20题:

    问答题
    HTML-based script与URL-based script的脚本有什么区别?

    正确答案: 使用“HTML-basedscript”的模式录制脚本,VuGen为用户的每个HTML操作生成单独的步骤,这种脚本看上去比较直观;使用“URL-basedscript”模式录制脚本时,VuGen可以捕获所有作为用户操作结果而发送到服务器的HTTP请求,然后为用户的每个请求分别生成对应方法。
    通常,基于浏览器的Web应用会使用“HTML-basedscript”模式来录制脚本;而没有基于浏览器的Web应用、Web应用中包含了与服务器进行交互的JavaApplet、基于浏览器的应用中包含了向服务器进行通信的JavaScript/VBScript代码、基于浏览器的应用中使用了HTTPS安全协议,这时使用“URL-basedscript”模式进行录制。
    解析: 暂无解析

  • 第21题:

    单选题
    引用名为 "xxx.js" 的外部脚本的正确语法是?()
    A

    <script src=xxx.js> 

    B

    <script href=xxx.js> 

    C

    <script name=xxx.js>


    正确答案: B
    解析: 暂无解析

  • 第22题:

    单选题
    在当前页面的同一目录下有一名show.js的文件,下列()代码可以正确访问该文件。
    A

    〈script language=“JavaScript” language=“show.js”〉〈/script〉

    B

    〈script language=“JavaScript” type=“show.js”〉〈/script〉

    C

    〈script language=“JavaScript” src=“show.js”〉〈/script〉

    D

    〈script language=“JavaScript” runat=“show.js”〉〈/script〉


    正确答案: B
    解析: 暂无解析

  • 第23题:

    单选题
    若要获得当前正在执行的脚本所在页面的虚拟路径,以下用法中,正确的是()。
    A

    Requst.ServerVariables(“SCRIPT_NAME”)

    B

    Response.ServerVariables(“SCRIPT_NAME”)

    C

    Requst.ServerVariables(“PATH_TRANSLATED”)

    D

    Response.ServerVariables(“PATH_TRANSLATED”)


    正确答案: D
    解析: 暂无解析

  • 第24题:

    单选题
    下列不属于Script脚本插入方式的是()
    A

    在<body>标签插入Script脚本      

    B

    在<body>与</body>之间插入脚本Script脚本 

    C

    在<head>与</head>之间插入Script脚本      

    D

    在<head>标签插入Script脚本


    正确答案: A
    解析: 暂无解析