Test
Test
DOM 1.5
DOM level 1
DOM level 2
2. Which of the following is an important way of making sure your scripts will
work with future browsers?
Spend an hour a day downloading the newest browsers and testing your scripts.
Wait until the very last browsers are released before writing any scripts.
All of these
3. What is DOM ?
None of these
Dynamic structure
Tree-structure
All of these
HTML DOM
Core DOM
XML DOM
None of these
2
4
3
1
Tree
Node
Table
Branches
8. You can find the element you want to manipulate in ________ way ?
getElementById()
getElementsByTagName()
All of these
None of these
document.getElementsByTagName("tagname");
document.getElementsByTagName;
getElementsByTagName("tagname");
getElementsByTagName.document("tagname");
<head>
<title>
<table>
<body>
11. Every node has some properties that contain some information about the
node. The properties are__________ .
nodeName
nodeValue
nodeType
All of these.
2
9
3
8
Tree
System
Window
None of these.
href
Anchor
Reference
None of these.
PushButton
Input Button
Button
None of these.
Area
Image
Frame
TextBox
HTML DOM
XML DOM
Core DOM
18. The History object is automatically created by the JavaScript runtime engine
and consists of an array of _______ .
Images
URLs
JavaScript Commands
None of these.
HTML
Browser
Java Compiler
20. You can access a radio object by searching through the elements[] array of
the form, or by using ______________ .
getElementById()
document.getElementById()
document.get()
All of these