Intro to CSS3 and HTML5

  1. To use an aside element as a sidebar column, you have to make sure its width is less than that of the containing element and you also have to do what?

    a. Float it to the left or right
    b. Make its height shorter than the containing element
    c. Use mardin:auto to center it
    d. Give the element a background color
    Float it to the left or right
  2. Suppose you define a sidebar div using width 180px for the content and padding:10px for the padding. You don't want text from the neighboring element to wrap under the sidebar. How wide should you make the margin on the neighboring side to ensure it never wraps under the element?

    a. 180px
    b. 20px
    c. 190px
    d. 200px
    200px
  3. If you create an aside element to use as a sidebar column, then give that element a background color, how tall will that background color be?

    a. As tall as the browser window
    b. 4 pixels tall
    c. As tall as the aside element itself
    d. As tall as whatever element is next to it
    As tall as the aside element itself
  4. What would be the main reason for making links in a Web page extra large?

    a. To make them easy to tap with a finger or stylus on a touchscreen
    b.  So you can use :hover and :active to provide some advanced styling
    c. To ensure the link works even if the page to which the link refers doesn't exist.
    d.  To provide additional assistance for the hearing impaired
    To make them easy to tap with a finger or stylus on a touchscreen
  5. In HTML5, which tags would be best for encasing navigation links?

    a. <header>...</header>
    b. <nav>...</nav>
    c. <article>...</article>
    d. <footer>...</footer>
    <nav>...</nav>
Author
jdavis123
ID
354360
Card Set
Intro to CSS3 and HTML5
Description
Lesson 12 - Making a Multi-column Layout
Updated