下面是标记的一个例子: … 下面是<FORM>标记的一个例子: <FORM. METHOD="POST"ACTION="/new/new-script"> … </FORM>其中METHOD属性的用途是______。A.让浏览器将完成的窗体发送到服务器上的new目录中的new-script脚本B.该属性将窗体指向一个接收窗体信息并使用该信息完成某些工作的URLC.该属性告诉窗体如何将其信息发回到脚本,本例中用的是POST方法D.让浏览器将完成的窗体发送到服务器上new-script的目录中的new脚本

题目
下面是
标记的一个例子: … </FOR

下面是<FORM>标记的一个例子: <FORM. METHOD="POST"ACTION="/new/new-script"> … </FORM>其中METHOD属性的用途是______。

A.让浏览器将完成的窗体发送到服务器上的new目录中的new-script脚本

B.该属性将窗体指向一个接收窗体信息并使用该信息完成某些工作的URL

C.该属性告诉窗体如何将其信息发回到脚本,本例中用的是POST方法

D.让浏览器将完成的窗体发送到服务器上new-script的目录中的new脚本


相似考题
更多“下面是<FORM>标记的一个例子: <FORM. METHOD="POST"ACTION="/new/new-script"> … </FOR ”相关问题
  • 第1题:

    The children stay in the nuclear family ____ they grow up and marry. Then they form. new nuclear families.

    A: because

    B: as

    C: until

    D: since


    参考答案:C

  • 第2题:

    要在窗体的标题内显示“myfrm",使用的语句是()。

    A. Form. 1. Print"myfrm"

    B. Form. Print"rnyfrm"

    C. Form. caption= "myfrm"

    D. Form. 1. caption= "myfrm"


    参考答案D

  • 第3题:

    下面是用户登录页面的部分代码,基本功能是检测用户是否填写用户名,如果没有填写,弹出对话框提示错误,否则提交用户信息。请为下列(9)~(13)处选择合适的答案。

    .

    .

    .

    <form. name=loginfo method=post(9)="chkuser.asp">

    <input type=submit value="登录" nClick="return checkuu();">

    </form>

    <SCRIPT. language=" JavaScript" >

    <!--

    (10)checkuu()

    {

    if(checkspace(document,loginfo.username.(11))){

    document.loginfo.username, focus();

    (12)("用户名不能为空");

    (13)false;

    }

    .

    .

    .

    }

    //-->

    </script>

    (9)~(13)备选答案

    A. run B. action C. value D. return

    E. a href F. alert G. submit H. function


    正确答案:(9)B(action) (10)H(function) (11)C(value) (12)F(alert) (13)D(return)
    (9)B(action) (10)H(function) (11)C(value) (12)F(alert) (13)D(return) 解析:本问题考查的是页面脚本的应用能力。
    form>/form>标志对用来创建一个表单,即定义表单的开始和结束位置,在标志对之间的一切都属于表单的内容。form>标志具有Action、Method和Target属性。Action属性指明处理程序的程序名。
    从题目提供的程序form. name=loginfo method=post>(9)="chkuser.asp">可见,以 post方式提交数据,并将数据提交给main_search.asp处理。所以(9)为Action。
    根据题目要求网页要实现的功能是检测用户是否填写用户名,如果没有填写,则弹出对话框提示错误,否则提交用户信息,再根据input type=submit value=“登录” nClick="retum checkuu();”>可知,当用户单击“登录”按钮时会执行函数checkuu(),所以(10)为function,根据功能要求,在函数checkuu()中首先判断usemame的值是否为空,所以(11)为value,(12)为alert,(13)为return。

  • 第4题:

    ● 下图是HTML文件submit.html在IE 中的部分显示效果。

    请完成下面submit.html中部分html代码。

    <form. action=/cgi-bin/post-query method=POST>

    您的姓名:

    <input type=text name=姓名><br>

    您的主页的网址:

    <input type=text name=网址 value=http://><br>

    密码:

    <input type=(44) name=密码><br>

    <input type=submit value="发送"><input type=(45) value="重设">

    </form>

    (44)

    A. text

    B. password

    C. passwd

    D. key

    (45)

    A. send

    B. reset

    C. restart

    D. replace


    正确答案:B,B

  • 第5题:

    当双击窗体Form1时,要将窗体Form1隐藏起来、将窗体Form2以模式方式显示出来的事件过程,正确的是

    A.Private Sub Form. _ Db1Click( ) Forml.Hide Form2.Show 0 End Sub

    B.Private Sub Form. _ Db1Click( ) Form1.Hide Form. 2.Show 1 End Sub

    C.Private Sub Form. _ Click( ) Form. l.Hide Form. 2.Show End Sub

    D.Private Sub Form. _ Dbl Click( ) Form. l.Enabled=False Form. 2.Enabled=True End Sub


    正确答案:B
    解析:语句Form2,Show0是将Form2.以非模态方式显示,所以选项A错误;语句Form.2.Show1中的参数1表示将Form.2以模态方式显示,所以选项B正确;选项C错误,该事件过程是窗体的单击事件,而题目要求的是窗体的双击事件;窗体Enabled属性的作用是设置窗体是否被激活,不是设置窗体是否可见,所以选项D错误。

  • 第6题:

    要在表单中添加提交按钮,实现在用户单击“提交”按钮时,自动将表单提交道ACTION属性中指定的位置。下列语句正确的是()。

    • A、<FORM  METHOD=”POST” ACTION=http://www.xmission.com> <INPUT TYPE=”button” VALUE=”提交”NAME=“b1”></FORM> 
    • B、<FORM  METHOD=”POST” ACTION=http://www.xmission.com> <INPUT TYPE=”reset” VALUE=”提交”NAME=“reset1”></FORM> 
    • C、<FORM  METHOD=”POST” ACTION=http://www.xmission.com> <INPUT TYPE=”submit” VALUE=”提交”NAME=“submit1”></FORM>
    • D、 <FORM  METHOD=”POST” ACTION=http://www.xmission.com> <INPUT TYPE=”submit” VALUE=”提交”NAME=“b1”></FORM>

    正确答案:C,D

  • 第7题:

    以下有关表单的说明中,错误的是()

    • A、表单通常用于搜集用户信息
    • B、在FORM标记符中使用action属性指定表单处理程序的位置
    • C、表单中只能包含表单控件,而不能包含其他诸如图片之类的内容
    • D、在FORM标记符中使用method属性指定提交表单数据的方法

    正确答案:C

  • 第8题:

    下面语句中,正确的是()

    • A、public.class.AddAction.implements.Action{...extends.Action
    • B、mapping.findForward("/ch01/result.jsp");findForward(“name”),new.ActionForward(“/ch01/result.jsp”)
    • C、form.method="get"action="add.do"
    • D、action.name="addAction"path="/add"type="y2ssh.sg.web.action.AddAction"Name指form的名字

    正确答案:C

  • 第9题:

    kristin wants to build an action which exits the video form. the action will be avaiable only when the user is reading the document ,which one of the following accomplish this ? ()

    • A、@ command([back])    
    • B、@ command([fileexit])   
    • C、@ command([gotoview])     
    • D、@ command([fileclosewindow])

    正确答案:D

  • 第10题:

    You are creating a Windows Forms application by using the .NET Framework 3.5. You create a new form in your application.You add 100 controls at run time in the Load event handler of the form.  Users report that the form takes a long time to get displayed. You need to improve the performance of the form. What should you do?()

    • A、Call the InitLayout method of the form before adding all the controls.Call the PerformLayout method of the form after adding all the controls.
    • B、Call the InitLayout method of the form before adding all the controls.Call the ResumeLayout method of the form after adding all the controls.
    • C、Call the SuspendLayout method of the form before adding all the controls.Call the PerformLayout method of the form after adding all the controls.
    • D、Call the SuspendLayout method of the form before adding all the controls.Call the ResumeLayout method of the form after adding all the controls.

    正确答案:D

  • 第11题:

    单选题
    Which scenario describes an appropriate use for opening a form in a new session?()
    A

    The data entered into the called form is logically independent of the data entered in the calling form. 

    B

    The called form requires different privileges than the calling form. 

    C

    The called form must execute as a different user than the calling form. 

    D

    The calling form must be able to query data in the called form before it is saved.


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

  • 第12题:

    单选题
    下面语句中,正确的是()
    A

    public.class.AddAction.implements.Action{...extends.Action

    B

    mapping.findForward(/ch01/result.jsp);findForward(“name”),new.ActionForward(“/ch01/result.jsp”)

    C

    form.method=getaction=add.do

    D

    action.name=addActionpath=/addtype=y2ssh.sg.web.action.AddActionName指form的名字


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

  • 第13题:

    Derivational morphemes are used to form. new words.( )

    此题为判断题(对,错)。


    正确答案:正确

  • 第14题:

    该网站查询商品网页search.htrnl的部分代码如下,请根据该页面和数据库shop.mdb中的表prouducts将search.asp的部分代码补充完整。 search, html: …… <form. method="POST"action="search.asp"> <p>请输入商品名称<input type="text" name="name" size="20"> <input type="submit">确认 …… </form> search, asp …… Pname=Request ("name") sql="Select * From (18) Where productname="& (19) Set rs=conn. (20) (sql) ……

    备选答案: A.shop B.name

    C.open D.Execute

    E.prouducts F.Pname


    正确答案:

  • 第15题:

    下图是HTML文件submit.html在IE中的部分显示效果。

    请完成下面submit.html中部分html代码。

    <form. action=/cgi-bin/post-query method=POST>

    您的姓名:

    <input type=text name=姓名><br>

    您的主页的网址:

    <input type= text name=网址value=http://><br>

    密码:

    <input type= (44) name=密码><br>

    <input type=submit value=“发送”><input type= (45) value=“重设”>

    </form>

    (44)

    A.text

    B.password

    C.passwd

    D.key


    正确答案:B

  • 第16题:

    请将以下用户的信息以POST的方式送往处理文件chkuser.asp的表单语句填写完整。 <form. name=loginfo method=post(42)="chkuser. asp">

    A.action

    B.value

    C.method

    D.target


    正确答案:A
    解析:在表单form语句中,action属性后面的等号表明当这个表单提交后,浏览器需要执行的动态程序。本试题中,语句form.name=loginfomethod=postaction="chkuser.asp">表示用户的信息是以POST的方式送往其处理文件chkuser.asp。

  • 第17题:

    下面语句中,正确的是()

    • A、public.class.AddAction.implements.Action{...
    • B、mapping.findForward("/ch01/result.jsp")
    • C、form.method="get"action="add.do"
    • D、action.name="addAction"path="/add"type="com.svse.web.action.AddAction"

    正确答案:A,B

  • 第18题:

    在HTML中,关于表单描述错误的是()。

    • A、以form标签开始,以/form标签结束
    • B、属性action是指表单提交的地址
    • C、属性method是指表单提交的方式
    • D、一个网页中只能有一个表单

    正确答案:D

  • 第19题:

    <form method=()action=search.jsp>…</form>。

    • A、post
    • B、send
    • C、out
    • D、message

    正确答案:A

  • 第20题:

    HMTL表单的首要标记是〈form〉,〈form〉标记的参数method表示表单发送的方法,可能为get或post,下列关于get和post的描述正确的是()。

    • A、post方法传递的数据对客户端是不可见的
    • B、get请求信息以查询字符串的形式发送,查询字符串长度没有大小限制
    • C、post方法对发送数据的数量限制在255个字符之内
    • D、get方法传递的数据对客户端是不可见的

    正确答案:D

  • 第21题:

    Which scenario describes an appropriate use for opening a form in a new session?()

    • A、The data entered into the called form is logically independent of the data entered in the calling form. 
    • B、The called form requires different privileges than the calling form. 
    • C、The called form must execute as a different user than the calling form. 
    • D、The calling form must be able to query data in the called form before it is saved.

    正确答案:A

  • 第22题:

    在Dreamweaver MX中,下面关于Field元素的说法错误的是()

    • A、Form元素的主要属性有Method和Action Method
    • B、表示表单递交的方法是Post还是GetAction
    • C、是告诉表单把收集到的数据送到什么地方
    • D、Action指向处理表单数据的服务端程序而不能是mailto标签

    正确答案:D

  • 第23题:

    单选题
    在Dreamweaver中,下面关于标记的说法错误的是:()
    A

    Form标记的主要属性有Method和Action

    B

    Method表示表单递交的方法是Post或Get

    C

    Action是告诉表单把收集到的数据送到什么地方


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