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. The default width of an element:As wide as the ______ that contains it






2. [ ] are indicative of _______ selectors






3. Wildcard (universal selector) to select all elements






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






5. HTML tag used for embedded styles






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






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






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






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






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






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






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






13. Prefix for linear gradient commands in Opera






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






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






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






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






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






19. A rule to remove bullets from a list






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






21. HSLA: Hue - Saturation - Lightness - _____






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






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






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






25. There are ____ descriptive color names






26. Prefix for linear gradient commands in Firefox






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






28. Prefix for linear gradient commands in Safari & Chrome






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






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






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






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






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






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






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






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






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






38. Shorthand border syntax






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






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






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






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






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






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






45. The 'external' space or 'force field' between an element & it's containing element






46. Default for the media attribute






47. _____ measurements are recommended for font sizes






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






49. List alignments work best with ____ measurements






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