大学职业资格刷题搜题APP
下载APP
课程
题库模板
WORD模板下载
EXCEL模板下载
题库创建教程
创建题库
登录
logo - 刷刷题
创建自己的小题库
搜索
【单选题】

Which of the following is true about css syntax? ( )

A.
.box[color:red,background:yellow]
B.
.box{color:red;background:yellow}
C.
.box{color:red,background:yellow}
D.
.box[color,red;background:yellow]
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
收藏 - 刷刷题收藏
举报
刷刷题
参考答案:
举一反三

【单选题】Which of the following statements is true about style introduction? ( )

A.
Inline style is to set style attribute for elements, which only takes effect for the current tag.
B.
The internal style is to set the style attribute for the element.
C.
The rel attribute in the link tag is used to set the path of the external css file.
D.
@import belongs to html tag.

【单选题】Which of the following statements about class and id selectors is incorrect? ( )

A.
Class selector is defined by .Class name {style}.
B.
The application method of id selector is <tag_name id="id name">.
C.
The application method of class selector is <tag_name class="class name">.
D.
The id selector and the class selector are only different in writing, and there is no difference in application and meaning.

【单选题】Which of the following statements about id selector is incorrect? ( )

A.
The syntax format of id selector is "#id name".
B.
If you want to use the id selector, you should first define an id attribute value for the element, such as: <div id="a"></div>.
C.
# selector is more suitable for defining class styles.
D.
An id name can only correspond to a specific element object of a document.

【多选题】What are the correct statements about link and import? ( )

A.
Import styles are used in the <head> tag as follows: <style>@import url("");</style>.
B.
When the page is loaded, the CSS referenced by link will not be loaded at the same time.
C.
CSS referenced by @import will not be loaded until all pages are downloaded.
D.
Pages that refer to CSS in the way of @import will appear unstyled flicker when loading.

【单选题】Which of the following statements about floating is wrong? ( )

A.
The floating of elements is horizontal, which means that elements can only move left and right, but not up and down.
B.
Floating is very useful in web page layout.
C.
Elements before floating element will also be affected.
D.
The text element after the floating element will surround it.

【单选题】Which statement about style priority is incorrect? ( )

A.
Css styles directly defined on tags have the highest level.
B.
Internal styles have lower priority than inline styles.
C.
External style sheets have the lowest level.
D.
When the attributes in the style conflict, the preset comes into effect.

【单选题】The round dot before the unordered list item <li> can be removed by ( ) .

A.
clear:both;
B.
font-style:none;
C.
list-style:none;
D.
list-style:normal;
相关题目:
【单选题】Which of the following statements is true about style introduction? ( )
A.
Inline style is to set style attribute for elements, which only takes effect for the current tag.
B.
The internal style is to set the style attribute for the element.
C.
The rel attribute in the link tag is used to set the path of the external css file.
D.
@import belongs to html tag.
【单选题】Which of the following statements about class and id selectors is incorrect? ( )
A.
Class selector is defined by .Class name {style}.
B.
The application method of id selector is <tag_name id="id name">.
C.
The application method of class selector is <tag_name class="class name">.
D.
The id selector and the class selector are only different in writing, and there is no difference in application and meaning.
【单选题】Which of the following statements about id selector is incorrect? ( )
A.
The syntax format of id selector is "#id name".
B.
If you want to use the id selector, you should first define an id attribute value for the element, such as: <div id="a"></div>.
C.
# selector is more suitable for defining class styles.
D.
An id name can only correspond to a specific element object of a document.
【多选题】What are the correct statements about link and import? ( )
A.
Import styles are used in the <head> tag as follows: <style>@import url("");</style>.
B.
When the page is loaded, the CSS referenced by link will not be loaded at the same time.
C.
CSS referenced by @import will not be loaded until all pages are downloaded.
D.
Pages that refer to CSS in the way of @import will appear unstyled flicker when loading.
【单选题】Which of the following statements about floating is wrong? ( )
A.
The floating of elements is horizontal, which means that elements can only move left and right, but not up and down.
B.
Floating is very useful in web page layout.
C.
Elements before floating element will also be affected.
D.
The text element after the floating element will surround it.
【单选题】Which statement about style priority is incorrect? ( )
A.
Css styles directly defined on tags have the highest level.
B.
Internal styles have lower priority than inline styles.
C.
External style sheets have the lowest level.
D.
When the attributes in the style conflict, the preset comes into effect.
【单选题】The round dot before the unordered list item <li> can be removed by ( ) .
A.
clear:both;
B.
font-style:none;
C.
list-style:none;
D.
list-style:normal;
刷刷题-刷题-导入试题 - 刷刷题
参考解析:
题目纠错 0
发布
刷刷题-刷题-导入试题 - 刷刷题刷刷题-刷题-导入试题 - 刷刷题刷刷题-刷题-导入试题 - 刷刷题
刷刷题-刷题-导入试题 - 刷刷题
刷刷题-刷题-导入试题 - 刷刷题
刷刷题-单词鸭