属性选择器语法格式不正确的是()。A、input[type="text"]{background:red;}B、input{type="text"}{background:red;}C、input[type=password]{background:red;}D、input[type=’password’]{background:red;}

属性选择器语法格式不正确的是()。

  • A、input[type="text"]{background:red;}
  • B、input{type="text"}{background:red;}
  • C、input[type=password]{background:red;}
  • D、input[type=’password’]{background:red;}

相关考题:

为index.html文件中的(2)~(6)处空缺选择正确答案。(2)~(6)备选答案: A.input type="reset"B.input type="submit"C.input type="text"D.TextareaE.option F.Select G.radio

下图是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.textB.passwordC.passwdD.key

增加表单的隐藏域的HTML代码是() A.input type=submit B.input type=iamgeC.input type=textD. input type=hide

在下列选项中,正确地产生文本区(textarea)的标记是( )。A.textareaB.input type=”textarea”C.input type=”textbox”D.input type=”text:”

如果要在表单中创建一个普通文本框,下列标记中正确的是( )。A.input type=”text”SXB 如果要在表单中创建一个普通文本框,下列标记中正确的是( )。A.input type=”text”B.input type=”password”C.input type=”CheCkbox”D.input type=”radio”

在页面中看不见的表单元素是那种?() A.input type=password/inputB.input type=radio/inputC.input type=hidden/inputD.input type=reset/input

在页面中看不见的表单元素是那种?()A、input type="password"/input B、input type="radio"/inputC、input type="hidden"/input D、input type="reset"/input

在表单的相关标记中,表示提供给用户一个可以复选的选项的标记为()A、INPUT TYPE=CHECKBOXB、INPUT TYPE=SUBMITC、INPUT TYPE=RESETD、INPUT TYPE=TEXT

增加表单的单选框的HTML代码是()A、input type=submitB、input type=iamgeC、input type=radioD、input type=checkbox

增加表单的图像域的HTML代码是()A、input type=submitB、input type=iamge C、input type=radio D、input type=checkbox

增加表单的复选框的HTML代码是()A、input type=submit B、input type=iamge C、input type=text D、input type=checkbox

以下属性选择器语法格式错误的是()。A、div[class="div"]{background:red;}B、div[class=="div"]{background:red;}C、div[class$="div"]{background:red;}D、div[class^="div"]{background:red;}

〈INPUT〉标记中属性type="text"时该〈INPUT〉显示为()A、列表/菜单B、单选按钮C、多选按钮D、文本字段

以下表示获取焦点的,语法格式正确的是()。A、input:active{background:red;}B、input:hover{backgroungd:reen;}C、input:focus{background:orange;}D、input:link{background:yellow;}

以下语法格式正确的是()。A、input:disabled{background:red;}B、input:enable{background:green;}C、input:checked{background:green;}D、input:selected{background:red;}

要求用JavaScript实现下面的功能:在一个文本框中内容发生改变后,单击页面的其他部分将弹出一个消息框显示文本框中的内容,下面语句正确的是()。A、〈input type="text" onClick="alert(this.value)"〉B、〈input type="text" onChange="alert(this.value)"〉C、〈input type="text" onChange="alert(text.value)"〉D、〈input type="text" onClick="alert(value)"〉

下列代码使用HTML元素的ID属性,将样式应用于网页上的某个段落:<P id=”firstp”>这是一个段落</P>,下面选项中,()正确定义了上面代码引用的样式规则。A、<Style Type=”text/css”> P {color:red} </Style>B、<Style Type=”text/css”> #firstp {color:red} </Style>C、<Style Type=”text/css”> .firstp {color:red} </Style>D、<Style Type=”text/css”> P.firstp {color:red} </Style>

以下Form表单元素描述,()是错的。A、〈input type="password"〉表示密码框B、〈input type="reset"〉表示提交按钮C、〈select name="radio"〉表示单选框D、〈input type="text"〉表示文本框

增加表单的文字段的HTML代码是()A、input type=submit B、input type=iamge C、input type=text D、input type=hide

在不指定特殊属性的情况下,哪几种HTML标签可以手动输入文本:()A、TEXTAREA/TEXTAREA         B、INPUT    type=”text”/       C、INPUT    type=”hidden”/       D、DIV/DIV

下列的HTML中哪个可以产生文本框?()A、input type="textfield"  B、textinput type="text" C、input type="text"  D、textfield

增加表单的密码域的HTML代码是()A、input type=submit B、input type=password C、input type=radio D、input type=checkbox

在页面中看不见的表单元素是那种?()A、input type="password"/inputB、input type="radio"/inputC、input type="hidden"/inputD、input type="reset"/input

单选题以下Form表单元素描述,()是错的。A〈input type=password〉表示密码框B〈input type=reset〉表示提交按钮C〈select name=radio〉表示单选框D〈input type=text〉表示文本框

单选题下列代码使用HTML元素的ID属性,将样式应用于网页上的某个段落:<P id=”firstp”>这是一个段落</P>,下面选项中,()正确定义了上面代码引用的样式规则。A<Style Type=”text/css”> P {color:red} </Style>B<Style Type=”text/css”> #firstp {color:red} </Style>C<Style Type=”text/css”> .firstp {color:red} </Style>D<Style Type=”text/css”> P.firstp {color:red} </Style>

单选题要求用JavaScript实现下面的功能:在一个文本框中内容发生改变后,单击页面的其他部分将弹出一个消息框显示文本框中的内容,下面语句正确的是()。A〈input type=text onClick=alert(this.value)〉B〈input type=text onChange=alert(this.value)〉C〈input type=text onChange=alert(text.value)〉D〈input type=text onClick=alert(value)〉

( 难度:中等)增加表单电脑的隐藏域的HTML代码是()A.<input type=submit>B.<input type=image>C.<input type=text>D.<input type=hidden>