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. h1, h2, h3 {color: blue;} is an example of _____






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






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






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






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






6. CSS is a special language used just for _____






7. Linear gradient syntax






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






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






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






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






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






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






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






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






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






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






18. HSL: Hue - Saturation - ______






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






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


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






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. The ____ attribute is used to specify the platform that the style sheet is for (mobile - print etc)






24. _______ are predefined classes that apply to specific conditions






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






26. Shorthand for background property






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






28. A rule to remove bullets from a list






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






30. Attribute specifying the location of an external style sheet






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






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






33. Attribute for an external style sheet






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






35. Wildcard (universal selector) to select all elements






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






37. There are ____ descriptive color names






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






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






40. HTML tag used for embedded styles






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






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






43. #main li { color: green;} is an example of a _____ selector






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






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






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






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






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






49. Shortcut HEX code for #FF99AA






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