A.padding:10px; B.margin:10px; C.border:10px; D.background:red;
单项选择题关于margin属性语法格式正确的是()
A.marginleft:10px; B.margin-top:20px; C.margin:-20; D.以上都不正确
单项选择题已知盒模型的内边距,上下左右方向依次为20px,20px、15px、15px,设置正确的是()
A.padding:20px 15px 20px 15px; B.padding:15px 20px; C.padding:20px 15px 15px 20px; D.padding:20px;
单项选择题如何设置p标签上下左右内边距均为10像素()
单项选择题背景复合属性语法正确的是:()
A.background:#0f0(a.jpg)no-repeat; B.background:url(img/b.jpg),no-repeat,center; C.background:url(img/logo.png)red; D.background:#red;
单项选择题写出背景平铺的属性:()
A.background-color B.background-repeat C.background-position D.background-image
单项选择题background:url( a.jpg )no-repeat left center;表示:()
A.背景图不平铺 水平居中 垂直居左 B.背景图平铺 C.背景图不平铺 水平 左对齐 垂直居中 D.背景图不平铺 水平垂直都居中
单项选择题text-decoration属性表示下划线的属性值是:()
A.none B.underline C.overline D.line-through
单项选择题#main ul li em{}的权重值是:()
A.100 B.101 C.103 D.102
单项选择题设置<a>标签访问前的样式,书写正确的是()
A.a:hover{} B.a:link{} C.a:active{} D.a:visited{}
单项选择题#box p{}的权重值是:()
A.100 B.101 C.102 D.110
单项选择题#box ul li em{}的权重值是:()
A.101 B.102 C.103 D.100
单项选择题以下哪些属于标签选择器?()
A.#1h{color:red;} B.h1{color:red;} C..h1{color:red;} D.#h1{color:red;}
单项选择题#main.warning h2{}的权重值是:()
A.111 B.100 C.10 D.112
单项选择题<input>的类型为password表示是?()
A.文本框 B.单选框 C.密码框 D.取消按钮
单项选择题要实现普通按钮,应设置type属性的值为:()
A.reset B.submit C.button D.input