Quiz Questions on Css

Topics: HTML, Cascading Style Sheets, Typeface Pages: 7 (1024 words) Published: April 14, 2013
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

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.


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

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

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

9. In CSS, the font-style property can make text what ?
a)Different colors
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
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

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

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.

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

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

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

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

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?

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

23. How do you make each word in a text start with a capital letter? a)text-transform:capitalize
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
27. What selector should you use when applying a style to multiple elements? a)ID
d)Any of the above

28. What does the...
Continue Reading

Please join StudyMode to read the full document

You May Also Find These Documents Helpful

  • Essay about Introduction to Css
  • Quiz Questions on Computer Servers Essay
  • Quiz Questions on Energy Essay
  • Intangible Assets Quiz Questions ANS Essay
  • Essay about Bsbcus501Z Quiz Question
  • Essay about 40 Question Quiz
  • Challenge questions for Quiz 2 Essay
  • Essay on Intangible Assets Quiz Questions

Become a StudyMode Member

Sign Up - It's Free