新西兰天维网社区

标题: CSS 問題 [打印本页]

作者: ms0080101    时间: 2012-1-9 20:34:22     标题: CSS 問題

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

   
   

   
   

   
  

  

作者: 一天    时间: 2012-1-10 08:33:10

Google,
or $1 per question, I am happy Google for you.
作者: matthewdiao    时间: 2012-1-10 08:42:33

字太多。。。你懂的。。。。。。。。。
作者: PCTechCare    时间: 2012-1-10 10:30:00

please google it.
作者: 大蛋    时间: 2012-1-10 15:46:42

好概念的题啊,最好放DW里一下就知道了
作者: ms0080101    时间: 2012-1-10 16:31:15

DW意思是?
作者: hellovista    时间: 2012-1-10 21:57:42

ms0080101 发表于 2012-1-10 16:31
DW意思是?

dreamweaver




欢迎光临 新西兰天维网社区 (http://bbs.skykiwi.com/) Powered by Discuz! X2