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. Linear gradient syntax






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






3. _______ are predefined classes that apply to specific conditions






4. A rule to remove bullets from a list






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






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






7. Three ways to specify colors in traditional CSS:color name - RGB - _______






8. Backwards compatibility for ________ & rounded corners & shadows -moz-border-radius & -moz-box-shadow






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






10. Two common pseudo-elements: ______ - first-line






11. border shorthand syntax






12. Three ways to provide styles: external style sheet - ________- style attributes applied to a single element (inline)






13. 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






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






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






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






17. box-shadow syntax: _________: horzOffset vertOffset blurRadius spread color; (not comma separated)






18. Keyword with 'background' that specifies if and how an image repeats






19. Default for the media attribute






20. To make sure someone who can't use a mouse has the same experience as a 'mouser' style the :hover pseudo-class the same as the ______






21. Attribute for an external style sheet






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






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






24. URL for bringing in a JavaScript 'shiv' or 'shim' for elements to be used in older browsers






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






26. CSS is a special language used just for _____






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






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






29. 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






30. The delimiter symbol for multiple selectors for the same rule set






31. To format the space between a bullet and text in an unordered list style some left padding on the _____ element within the list






32. List alignments work best with ____ measurements






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






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






35. The 'internal' space between content area & border






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






37. Zeroing out the default browser styles using the wildcard selector (*) is often call using the _____ selector






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






39. _______ Memory Aid: TRBL ('trouble' = top, right, bottom, left)






40. 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






41. [ ] are indicative of _______ selectors






42. _____ measurements are recommended for font sizes






43. 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






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






45. #main { padding: 1em;} is an example of a selector made by _____






46. There are ____ descriptive color names






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






48. 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






49. h2~p { margin-left: 2em; } is an example of a ______ selector






50. Prefix for linear gradient commands in Firefox