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

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.

【单选题】To set the background image of a webpage as "bg.jpg", which of the following is correct? ( )

A.
<body background-image="bg.jpg">
B.
<body background="bg.jpg">
C.
<body image="bg.jpg">
D.
<body background-color="bg.jpg">

【单选题】In css, what is the incorrect description about the following background code? ( ).box { background:url("../image/author-1.jpg") no-repeat center/50% red;}

A.
The above code indicates that the background color is red, the image is centered, the size is 50%, and the image is not repeated.
B.
If no-repeat is deleted, the image will not repeat.
C.
If the element url("../image/author-1.jpg") is deleted, a red background will be displayed.
D.
If no-repeat is changed to repeat-x, the image is horizontally repeated.