- UID
- 296512
- 热情
- 207
- 人气
- 859
- 主题
- 33
- 帖子
- 109
- 精华
- 0
- 积分
- 612
- 分享
- 0
- 记录
- 0
- 相册
- 0
- 好友
- 1
- 日志
- 0
- 在线时间
- 845 小时
- 注册时间
- 2011-9-20
- 阅读权限
- 20
- 最后登录
- 2022-11-9
 
升级   22.4% - UID
- 296512
- 热情
- 207
- 人气
- 859
- 主题
- 33
- 帖子
- 109
- 精华
- 0
- 积分
- 612
- 阅读权限
- 20
- 注册时间
- 2011-9-20
|
2. In CSS, the value of the font-family property can only contain ONE font family.
TRUE
FALSE
5. In CSS, which of the following is NOT a relative size unit?
em
px
%
9. In CSS, what is the default value of the position property?
default
static
relative
fixed
10. In CSS, the :first-child pseudo-class adds a style to an element that is the first child of another element.
TRUE
FALSE
14. How often is the background image shown if the following CSS is set:
body
{
background: #00ff00 url(''''smiley.gif'''') 50% 50%;
}
Only one time, in the center of the page
It is repeated all over the page
It is repeated across half the page horizontally, and half the page vertically
16. With CSS, what will {white-space:nowrap;} do?
Sequences of whitespace will collapse into a single whitespace. Text will wrap when necessary
Sequences of whitespace will collapse into a single whitespace. Text will never wrap until a <br /> tag is encountered
Whitespace is preserved. Text will only wrap on line breaks. Acts like the <pre> tag in HTML
Whitespace is preserved. Text will wrap when necessary, and on line breaks
18. What is the font size of the p element if the following CSS style is applied:
body {font-size:12px;}
p {font-size:125%;}
12px
15px
16px
25. Using the CSS background-position property, which value will place the background image in the TOP RIGHT corner of a page?
100% 0%
0% 100%
100% 100%
0% 0%
26. In CSS, the :first-line and :first-letter pseudo-elements can be used on both block and inline elements.
TRUE
Only on block elements
Only on inline elements
30. What are the three levels of CSS?
private, public, external
inside, outside, external
inline, internal, external
32. With CSS, it is possible to specify the distance between letters, words, and text lines.
TRUE
FALSE
Only the distance between letters and words
34. Sort the cascade levels by priority.
1 is lowest, 4 is highest.
1. Inline style (inside an HTML element) 2. External style sheet 3. Internal style sheet (in the head section) 4. Browser default
1. Browser default 2. External style sheet 3. Inline style (inside an HTML element) 4. Internal style sheet (in the head section)
1. Browser default 2. External style sheet 3. Internal style sheet (in the head section) 4. Inline style (inside an HTML element)
37. What happens if two absolutely positioned elements overlap, and neither has a specified z-index?
Neither are shown
有大大可以幫忙看一下這些題目跟答案對不對呢? thanks
The element positioned last in the CSS code is shown on top
The element positioned last in the HTML code is shown on top
38. With CSS, an element with a higher z-index value will be shown on top of elements with a lower z-index.
TRUE
FALSE
39. In CSS, what is the default value of the color property?
The default value is not defined, so it depends on the browser
The default value is always black
The default value is transparent
The default value is always the highest contrasting color compared to the background
42. In CSS, what happens to the text if the line-height property is set to a value lower than the current font size?
line-height cannot be set to a value lower than the current font size
The lines are cut to prevent overlapping
The lines will overlap
43. With CSS, what is the correct selector for selecting ALL images with an alt attribute?
img[class=alt]
img[alt=true]
img[alt]
44. In CSS, if the margin of an element isspecified using %. What is the % relative to? | The width of the containing element | | The width of the element | | The width of the browser window | 54. In CSS, what properties affect the distance between words?
(Directly or indirectly) | Only the word-spacing property | | Only the word-spacing and letter-spacing properties | | The font-size, word-spacing, letter-spacing and text-align properties | | | | 55. In CSS, what is the background color of a margin area? | The same as the background color of the element with the margin | | The same as the background color of the parent element | 67. In the following CSS code
p.intro{color:red;}
The selector is: 68. In CSS, a non nested element with {position:absolute;top:0;left:0;} is positioned relative to: | its normal postion | | the browser window | | the document (<html>) | | | |
|
|