Document Object Model and Basics of Javascript

  • Introduction to Javascript
  • Javascript Placement in Document
  • Comments and noscript tag
  • Document Object Model
  • DOM Structure
  • Accessing Values Using Dot...
    View Complete Description
    ×

    Topic Summary

    • Introduction to Javascript
    • Javascript Placement in Document
    • Comments and noscript tag
    • Document Object Model
    • DOM Structure
    • Accessing Values Using Dot Notation
    • Properties of Document Object
    • Methods of Document Object
    • Forms Collection
    • Images Collection
    • DOM Objects Classification
    • Variables in Javascript
    • Operators in Javascript
35
Questions
Question Type Legends

Easy

Medium

Difficult

Multiple Choice Questions for Document Object Model and Basics of Javascript

  • 1 Number of options in the < select > element can be found by the property:
    1. length
    2. size
    3. getLength()
    4. getSize()

  • 2 Which DOM method allows you to add text or elements into a document, but adds a new line at the end of the output
    1. writein(string)
    2. write(string)
    3. alert(string)
    4. alertn(string)

  • 3 Which of the following will tell about the last modified date of the document.
    1. lastModified.document
    2. document.lastModified
    3. document.lastModifiedDate
    4. lastModified

  • 4 Which object in the DOM have button, checkbox, input etc controls?
    1. Image
    2. Form
    3. Link
    4. Applet

Contact Us

support@subexpert.com
Write to Us View Help
Subject Expert Logo

Subject Expert

Learn and Evaluate

Follow Us
© 2020 - Subject Expert