新西兰天维网社区

 找回密码
登录  注册
搜索
热搜: 移民 留学
查看: 436|回复: 6
打印 上一主题 下一主题

[网络] CSS 問題 [复制链接]

Rank: 8Rank: 8

升级  22.4%

UID
296512
热情
207
人气
859
主题
33
帖子
109
精华
0
积分
612
阅读权限
20
注册时间
2011-9-20
跳转到指定楼层
楼主
发表于 2012-1-9 20:34:22 |只看该作者 |倒序浏览 微信分享
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:

  

  
           

p.intro

   
           

color

   
           

red

   
   

   
   

   
  

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>)

   
   

   
   

   
  

  

使用道具 举报

Rank: 9Rank: 9Rank: 9

升级  99.6%

UID
143219
热情
690
人气
1083
主题
40
帖子
2127
精华
2
积分
1996
阅读权限
20
注册时间
2008-5-9
沙发
发表于 2012-1-10 08:33:10 |只看该作者 微信分享
Google,
or $1 per question, I am happy Google for you.

使用道具 举报

Rank: 19Rank: 19Rank: 19Rank: 19Rank: 19Rank: 19

UID
108444
热情
24325
人气
27431
主题
148
帖子
6395
精华
6
积分
29226
阅读权限
100
注册时间
2007-2-22

最强王者 永恒钻石 尊贵铂金 元老勋章 哈卡一族 10周年纪念

板凳
发表于 2012-1-10 08:42:33 |只看该作者 微信分享
字太多。。。你懂的。。。。。。。。。
北帕电脑网络维修。微信: Matthewdiao

使用道具 举报

Rank: 9Rank: 9Rank: 9

升级  72.8%

UID
162593
热情
634
人气
873
主题
20
帖子
1895
精华
0
积分
1728
阅读权限
20
注册时间
2008-11-20
地板
发表于 2012-1-10 10:30:00 |只看该作者 微信分享
please google it.
公平公正不带偏见和成见的做事是一种境界,但大多数人都是对此一眼带过,没有思考,该干嘛还是干嘛。

使用道具 举报

Rank: 9Rank: 9Rank: 9

升级  61.5%

UID
110565
热情
521
人气
785
主题
1
帖子
1879
精华
0
积分
1615
阅读权限
20
注册时间
2007-3-10

10周年纪念 大地主

5#分享本帖地址
发表于 2012-1-10 15:46:42 |只看该作者 微信分享
好概念的题啊,最好放DW里一下就知道了

使用道具 举报

Rank: 8Rank: 8

升级  22.4%

UID
296512
热情
207
人气
859
主题
33
帖子
109
精华
0
积分
612
阅读权限
20
注册时间
2011-9-20
6#分享本帖地址
发表于 2012-1-10 16:31:15 |只看该作者 微信分享
DW意思是?

使用道具 举报

Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18

升级  0%

UID
148054
热情
37590
人气
40910
主题
1187
帖子
73948
精华
5
积分
77217
阅读权限
30
注册时间
2008-7-15

最强王者 哈卡一族

7#分享本帖地址
发表于 2012-1-10 21:57:42 |只看该作者 微信分享
ms0080101 发表于 2012-1-10 16:31
DW意思是?

dreamweaver

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

手机版| 联系论坛客服| 广告服务| 招贤纳士| 新西兰天维网

GMT+13, 2025-2-22 08:12 , Processed in 0.019251 second(s), 14 queries .

Powered by Discuz! X2 Licensed

Copyright 2001- Sky Media Limited, All Rights Reserved.

回顶部