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. h2~p { margin-left: 2em; } is an example of a ______ selector






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






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






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

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


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






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






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






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






9. [ ] are indicative of _______ selectors






10. Backwards compatibility for __________ & shadows -webkit-box-shadow






11. List alignments work best with ____ measurements






12. border shorthand syntax






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






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






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






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






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






18. Shortcut HEX code for #FF99AA






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






20. HTML tag used for embedded styles






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






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






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






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






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






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






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






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






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






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






31. Attribute specifying the location of an external style sheet






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






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






34. Linear gradient syntax






35. Prefix for linear gradient commands in Safari & Chrome






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






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






38. _______ are predefined classes that apply to specific conditions






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






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






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






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






43. The colon (:) is indicative of __________






44. Prefix for linear gradient commands in Firefox






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






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






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






48. Attribute for an external style sheet






49. Shorthand border syntax






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