• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Quiz

Test your knowledge of the W3C Document Object Model (DOM) by answering the following questions.

Questions

1:Which of the following tags is used to create a cross-browser layer?
  1. <layer>

  2. <div>

  3. <style>

A1: b. The <div> tag can be used to create cross-browser layers.
2:Which attribute controls an element's left-to-right position?
  1. left

  2. width

  3. lrpos

A2: a. The left attribute controls an element's left-to-right position.
3:Which object is supported by Internet Explorer 4.0 and later but is not part of the W3C DOM?
  1. document

  2. layer

  3. document.all

A3: c. The document.all object is supported by Internet Explorer 4.0 and later, but not by the W3C DOM.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint