Training Guide: Programming in HTML5 with JavaScript and CSS3 Ebook

(Nora) #1

258 CHAPTER 5 More HTML5


Answers


This section contains the answers to the lesson review questions in this chapter.

Lesson 1



  1. Correct answer: D
    A. Incorrect: The
    element denotes a part of something.
    B. Incorrect: The
     element displays preformatted content.
    C. Incorrect: The

  2. Correct answer: C
    A. Incorrect: You should refrain from using the element.
    B. Incorrect: The element indicates emphatic stress but not necessarily
    importance.
    C. Correct: The element indicates importance.
    D. Incorrect: You should refrain from using the element.

  3. Correct answer: A
    A. Correct: The
    element provides contact information for the author of
    the webpage.
    B. Incorrect: The element is not valid.
    C. Incorrect: The element is not valid.
    D. Incorrect: The element is not valid.


Lesson 2



  1. Correct answer: B
    A. Incorrect: The column needs to span two columns.
    B. Correct: The column needs the colspan=”2” attribute to span the Products and
    Services columns.
    C. Incorrect: The span attribute is used with the element but not with the
    element.
    D. Incorrect: The style attribute cannot be used to cause spanning across two
    columns.

  2. Correct answer: A
    A. Correct: You can assign styles to the element, which will apply the style to
    the corresponding table column.
    B. Incorrect: Adding an id to each element does not satisfy the criteria.