Quiz Questions on Css

Only available on StudyMode
  • Topic: HTML, Cascading Style Sheets, Typeface
  • Pages : 7 (1024 words )
  • Download(s) : 814
  • Published : April 14, 2013
Open Document
Text Preview
CSS QUIZ (paper2)

1. CSS can be defined for entire sites by simply writing the CSS definitions where ? a)Plain Text document
b)Head section of each page
c)Body section of each page
d)none

2. Netscape and Internet Explorer supports CSS in which way ? a)Exact same, since CSS is a cross browser standard by W3C b)Very different on older browsers, closer to the same on newer c)Completely different, nothing is cross browser safe.

d)none

3. In CSS, you have the following options for changing text color ? a)Common name and Hexcolor only
b)Common name, RBG value, Hexcolor
c)RBG value, Hexcolor
d)Hexcolor only

4. Which of the following is NOT a valid CSS selector ?
a)ID selectors
b)TAG selectors
c)Title selectors
d)HEAD selectors

5. CSS stands for ?
a)Crossing Standards Sheets
b)Cascading Simple Shores
c)Cascading Style Sheets
d)Connecting Standard Style

6. In CSS, what is a definition of fonts, colors, etc. called ? a)Font-family
b)ID tag
c)Style
d)None

7. Which of the following browsers has most limited support for CSS Layers ? a)Netscape 6
b)Internet Explorer 4 or newer
c)Netscape 4
d)none

8. Which of the following is NOT an advantage of CSS ?
a)Define the look of your pages in one place
b)Works on version 4 browsers or newer
c)Easily change the look
d)None

9. In CSS, the font-style property can make text what ?
a)Different colors
b)Bigger
c)Italic
d)All the above

10. You can change the look of the entire site at once when CSS is defined where? a)On your computer
b)In the database
c)In an external file
d)With each block of text

11. In CSS, a:link defines the style for ?
a)active links
b)visited links
c)Virtuallinks
d)normal unvisited links

12. CSS can be added to a page on how many levels ?
a)2 - Head and External file
b)4 - Tag, Head, External file and Meta tag
c)3 - Tag, Head and External file
d)none

13. Which of the following is NOT an advantage of CSS defined for the entire site ? a)Prettier colors
b)Flexibility to change styles for entire site
c)Faster loading pages
d)none

14. is used for adding CSS to the entire site ?
a)Yes - if present on all pages in the site.
b)Only if written in the -section of the page.
c)No
d)none

15. is what kind of tag ?
a)Font tag
b)Block tag
c)Dividing the page
d)Inline tag

16. Selectors that will only work in certain contexts are called ? a)Context Dependent Selectors
b)Grouped Selectors
c)Hyper Text Markup Selectors
d)none

17. What do you define in the style definition ?
a)Which browser the visitor is using
b)How each selector should work
c)Where to place each selector
d)none

18. What is the correct HTML for referring to an external style sheet? a)mystyle.css
b)
c)
d)none

19. Which HTML tag is used to define an internal style sheet? a)
b)
c)
d)

20. How do you insert a comment in a CSS file?
a)' this is a comment
b)/* this is a comment */
c)// this is a comment //
d)// this is a comment

21. Which HTML attribute is used to define inline styles?
a)styles
b)class
c)font
d)style

22. What is the correct CSS syntax for making all the elements bold? a)p {font-weight:bold}
b)p {text-size:bold}
c)
d)

23. How do you make each word in a text start with a capital letter? a)text-transform:capitalize
b)text-transform:lowercase
c)text-transform:uppercase
d)You can't do that with CSS

26. How to apply a style to several specific element types?
a)Use the type selector with , delimiter
b)Use the type selector with . delimiter
c)Use the ID selector with ; delimiter
d)Use the ID selector with > delimiter
e)
27. What selector should you use when applying a style to multiple elements? a)ID
b)Class
c)Type
d)Any of the above

28. What does the...
tracking img