Assignment 2.docx - Name: Yasser Blanco Montequin Panther...

This preview shows page 1 - 2 out of 3 pages.

Name: Yasser Blanco MontequinPanther ID: 6271933Lesson 1:1. You want to create an expando attribute on several <h3> tags that display vehicles forsale. The expando attribute will store the VIN (vehicle identification number) of thevehicle for sale. Which of the following is the most appropriate example of creating theexpando attribute?A. <h3 vin=’current VIN here’>1965 VW Beetle</h3> -> Incorrect: Although this example would worktoday, it’s possible that a vin attribute could be introduced by a future version of HTML that would causea conflict.B. <h3 id=’current VIN here’>1965 VW Beetle</h3> -> Incorrect: Although this example would worktoday, it’s possible that a vin attribute could be introduced by a future version of HTML that would causea conflict.C. <h3 data-vin=’current VIN here’>1965 VW Beetle</h3> -> Correct:This is a properly defined expandoattribute that will not conflict with attributes introduced by future versions of HTML because theattribute name is prefixed with “data-“ as required by the HTML specification.D. <h3 datavin=’current VIN here’>1965 VW Beetle</h3> -> Incorrect:

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 3 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Fall
Professor
STAFF
Tags
XHTML

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture