Intermediate CSS3 & HTML5

  1. Why would somebody use list-style-type:none; in the style rule for an unordered list?




    B. To remove the default bullets that the Web browser would put in it
  2. In CSS, you can specifically target elements that are contained within other elements by using spaces in the style rule selector. For example, the selector nav ul targets unordered lists (<ul>...</ul>) that are in the nav section only (between <nav>...</nav> tags). What do we call the kinds of selectors that use spaces to target things that way?




    B. Descendant selector
  3. Which of the following best describes what the selector article p targets?




    C. Paragraphs between the <article>...</article> tags
  4. Suppose that in your style sheet, you use {color:red} to make all paragraphs in the page red. You also have a style rule that reads article p{color:green}. There's no other styling for paragraphs. What color will the text be in paragraphs between the <article>...<article> tags?




    A. Green
  5. Suppose you put a fancy background on some element using a generic style rule. In a more specific style, you want to get rid of that background. What would be the quick and easy CSS selector to get rid of that background. What would be the quick and easy CSS selector to get rid of the generic background?




    D. background: none;
Author
jdavis123
ID
355027
Card Set
Intermediate CSS3 & HTML5
Description
Creating Drop-Down and Flyout Menus
Updated