Test your basic knowledge |

Subject : it-skills
Instructions:
  • Answer 50 questions in 15 minutes.
  • If you are not ready to take this test, you can study here.
  • Match each statement with the correct term.
  • Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.

This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. #main>p{ font-size: 11pt; } is an example of a ______ selector






2. Tag used to bring CSS into a web page from an external source






3. Shorthand border syntax






4. .right {text-align: right;} is an example of a selector made by _______






5. Attribute specifying the location of an external style sheet






6. A rule to remove bullets from a list






7. These 'flavors' of selectors are often used by JavaScript






8. Four 'flavors' of relational selectors: ________ - adjacent sibling - child (not supported by some older browsers like IE6) - general sibling (new to CSS3)






9. Shortcut HEX code for #FF99AA






10. Five common CSS pseudo classes:link - _______ - active - hover - focus






11. The ______ keyword is typically used for centering an element in it's containing (parent) block - but to do that you must also specify the width of the element






12. Two new box model properties in CSS3: border-radius and ________






13. Rules with a higher _____ are the ones that will be used






14. Height of a box: top margin + top border + top padding + ______ + bottom padding + bottom border + bottom margin






15. If a bottom margin encounters an adjacent top margin they are _____ and the larger margin is applied






16. Default for the media attribute






17. The ____ attribute is used to specify the platform that the style sheet is for (mobile - print etc)






18. Shorthand for background property






19. _____ measurements are recommended for font sizes






20. Wildcard (universal selector) to select all elements






21. To mark a rule so that it will override any other rules






22. CSS is a special language used just for _____






23. Use this 'flavor' of selector if you want to target multiple elements on a page with the same styling






24. Because different browsers have different default margins for block elements you often need to ________ those values using the * (wildcard) selector and set the margins explicitly






25. There are ____ descriptive color names






26. ________ are selectors that let you select a portion of text






27. What does this do? padding: 2px, 4px, 6px, 8px;






28. HTML5 structural tags in older browsers must be styled as _____ elements






29. Sequence in which styles are applied: _______ - embedded - inline






30. * [ href ] { font-size: 95%; } is an example of a(n) _____ selector






31. In a navigation bar (horizontal): Code <a> elements nested in <li> elements of an _____ list and style the <li> elements as inline using the display property






32. h2+p { margin-top: .5em} is an example of a _____ selector






33. The p.highlight selector is more _____ than the .highlight selector






34. Rule to remove underlining in a hyperlink that hasn't yet been visited






35. Three ways to code CSS3 colors: _____ - HSL - HSLA






36. Attribute for an external style sheet






37. Prefix for linear gradient commands in Safari & Chrome






38. Width of a box: left margin + left border + left padding + _____ + right padding + right border + right margin






39. Prefix for linear gradient commands in Firefox






40. Three common CSS3 pseudo-classes: first-child - last-child - _______






41. HSLA: Hue - Saturation - Lightness - _____






42. An HTML element may be a selector (<p> for example). This is known as a rule that selects by ______






43. Keyword with 'background' that specifies the initial horizontal and vertical positions of an image






44. In a navigation list (vertical): To make the entire box for a link ____ you can set the display property for the <a> elements to block and use padding to provide the space around the links






45. In a set of possibly conflicting rules the one that is mentioned _____ is the one that will be used and all other things being equal






46. HSL: Hue - Saturation - ______






47. h1, h2, h3 {color: blue;} is an example of _____






48. The default width of an element:As wide as the ______ that contains it






49. Six properties for setting heights & widths: width - height - ______- max-width - min-height - max-height






50. Prefix for linear gradient commands in Opera