1. CSS can be defined for entire sites by simply writing the CSS definitions where ? |
Plain Text document |
Head section of each page |
Body section of each page |
none
|
2. Netscape and Internet Explorer supports CSS in which way ? |
Exact same, since CSS is a cross browser standard by W3C |
Very different on older browsers, closer to the same on newer |
Completely different, nothing is cross browser safe. |
none
|
3. In CSS, you have the following options for changing text color ? |
Common name and Hexcolor only |
Common name, RBG value, Hexcolor |
RBG value, Hexcolor |
Hexcolor only
|
4. Which of the following is NOT a valid CSS selector ? |
ID selectors |
TAG selectors |
Title selectors |
HEAD selectors
|
5. CSS stands for ? |
Crossing Standards Sheets |
Cascading Simple Shores |
Cascading Style Sheets |
Connecting Standard Style
|
6. In CSS, what is a definition of fonts, colors, etc. called ? |
Font-family |
ID tag |
Style |
none
|
7. Which of the following browsers has most limited support for CSS Layers ? |
Netscape 6 |
Internet Explorer 4 or newer |
Netscape 4 |
none
|
8. Which of the following is NOT an advantage of CSS ? |
Define the look of your pages in one place |
Works on version 4 browsers or newer |
Easily change the look |
none
|
9. In CSS, the font-style property can make text what ? |
Different colors |
Bigger |
Italic |
All the above
|
10. You can change the look of the entire site at once when CSS is defined where? |
On your computer |
In the database |
In an external file |
With each block of text
|
11. In CSS, A:link defines the style for ? |
active links |
visited links |
Virtuallinks |
normal unvisited links
|
12. CSS can be added to a page on how many levels ? |
2 - Head and External file |
4 - Tag, Head, External file and Meta tag |
3 - Tag, Head and External file |
none
|
13. Which of the following is NOT an advantage of CSS defined for the entire site ? |
Prettier colors |
Flexibility to change styles for entire site |
Faster loading pages |
none
|
14. <link rel=stylesheet href="whatever.css" type="text/css"> is used for adding CSS to the entire site ? |
Yes - if present on all pages in the site. |
Only if written in the <body>-section of the page. |
No |
none
|
15. <DIV> is what kind of tag ? |
Font tag |
Block tag |
Dividing the page |
Inline tag
|
16. Selectors that will only work in certain contexts are called ? |
Context Dependent Selectors |
Grouped Selectors |
Hyper Text Markup Selectors |
none
|
17. What do you define in the style definition ? |
Which browser the visitor is using |
How each selector should work |
Where to place each selector |
none
|
18. What is the correct HTML for referring to an external style sheet? |
<stylesheet>mystyle.css
|
<link rel="stylesheet" type="text/css" href="mystyle.css"> |
<style src="mystyle.css"> |
none
|
19. Which HTML tag is used to define an internal style sheet? |
<css> |
<script> |
<style> |
<css script>
|
20. How do you insert a comment in a CSS file? |
' this is a comment |
/* this is a comment */ |
// this is a comment // |
// this is a comment
|