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. An HTML element may be a selector (<p> for example). This is known as a rule that selects by ______






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






3. _______ are predefined classes that apply to specific conditions






4. In order of most to least specificity by selector type: id, (class, attribute, _____), (element or pseudo-element)






5. Default for the media attribute






6. The colon (:) is indicative of __________






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






8. CSS is a special language used just for _____






9. Shorthand for background property






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






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






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






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






14. HSL: Hue - Saturation - ______






15. A rule to remove a hyperlink border from around an image hyperlink






16. Shorthand border syntax






17. #main>p{ font-size: 11pt; } is an example of a ______ selector






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






19. Prefix for linear gradient commands in Firefox






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






21. There are ____ descriptive color names






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






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






24. Some users with special needs may have set up a ______ which have a higher ranking in the 'cascade'






25. Prefix for linear gradient commands in Safari & Chrome






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






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






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






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






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






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






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






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






34. Shortcut HEX code for #FF99AA






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






36. Linear gradient syntax






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






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






39. 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 ______






40. Attribute for an external style sheet






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






42. Attribute specifying the location of an external style sheet






43. Keyword with 'background' that specifies whether an image scrolls with the document or remains in a fixed position


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






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






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






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






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






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






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