logo - 刷刷题
下载APP
【单选题】

The correct statement about border of box is ( ).

A.
The border-stylerepresentsthe thickness of the border.
B.
The border:10px solid red; represents a red dotted border with a thickness of 10px.
C.
The border:10px red; represents a red border with a thickness of 10px.
D.
The border-bottom:10px dashed green; representsthe thickness of the bottom border is 10px and it is a dotted green line.
举报
参考答案:
参考解析:
.
刷刷题刷刷变学霸
举一反三

【单选题】float<!DOCTYPE html><html><head> <meta charset="utf-8"> <title>float</title> <style> .about{ width: 500px; } .about img{ float:left; width:200px; } <...

A.
Text overlays on picture.
B.
Text is on the top, and picture is on the bottom.
C.
Picture is on the left, and text is arranged on the right.
D.
Picture is on the left, and text surrounds the picture.

【多选题】In css, if the border is not displayed, which of the following statements is correct? ( )

A.
Set border:0px solid blue;
B.
Set border-color:transparent;
C.
Set border:none;
D.
Set border:1px solid transparent;

【单选题】Which of the following can't be used for making text bold? ( )

A.
Use <b></b> tags in html
B.
Use <strong></strong> tags in html
C.
Use font-weight: bold in CSS
D.
Use font-style: strong in CSS

【单选题】In html, which of the following statements about font attributes in css styles is true? ( )

A.
The font-size is used to set the size of the text font.
B.
The font-family is used to set the alignment of text.
C.
The font-style is used to set the font of text.
D.
The text-decoration is used to set the font shape of text.

【单选题】To set the text style of the p tag with class name "box" in the div tag to: the text is centered, the first line is indented 2em, the font size is 20px and the line height is 30px.Which of the followi...

A.
.box .p{ line-height: 30px; font-indent: 2em; text-align: center; font-size: 20px; }
B.
.box p{ line-height: 30px; text-indent: 2em; text-align: center; font-size: 20px; }
C.
.box .p{ line-height: 30px; text-indent: 2em; text-align: center; font-size: 20px; }
D.
.box p{ text-height: 30px; text-indent: 2em; text-align: center; font-size: 20px; }

【单选题】In css, the background image needs to be located in the lower left corner of the box. The codes should be written as: ( )

A.
background-image:left foot
B.
background-image:left bottom
C.
background-position:left foot
D.
background-position:left bottom

【单选题】Which of the following descriptions of the css codes is correct? ( ).box p{ font: 60 italic 20px/80px 'arial'; }

A.
The first element 60 in the font attribute represents the font size.
B.
These elements in the font attribute can be transposed at will.
C.
The last element 'arial' in the font attribute can be omitted without writing.
D.
The 80px in the font attribute indicates the line height of the text in the p tag, which can be omitted.