Deck 12: Document Object Model Dom: Objects and Collections

ملء الشاشة (f)
exit full mode
سؤال
What is the significance of the second function argument in the following line
Window.setInterval( "run()", 100 );

A) The value sets how many times to call the function specified in the first argument.
B) The value sets how long the function is run for.
C) The value sets how often to run the function.
D) The value sets the time to wait before calling the function once.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
In the statement node1.replaceChild( node2, node3 ) , ________ replaces ________.

A) node3, node1
B) node1, node3
C) node2, node3
D) node3, node2
سؤال
Which of the following is the proper way to dynamically access the background color

A) document.body.style.BackgroundColor
B) document.body.attributes.BackgroundColor
C) document.body.style.backgroundColor
D) document.body.style.background-color
سؤال
Which of these is the method of the window object that stops repetitive calls to a method

A) clearTimer
B) stopTimer
C) stopInterval
D) clearInterval
سؤال
The elements in a web page are represented by a(n) ________.

A) object hierarchy
B) parent tree
C) dynamic HTML
D) DOM property
سؤال
Function getElementById returns a(n)________.

A) boolean
B) string
C) id attribute
D) object
سؤال
Which of the following is not a DOM collection

A) roots
B) anchors
C) links
D) forms
سؤال
An HTML5 element inside another element is a ________ of the containing element.

A) parent
B) child
C) instance
D) sub-element
سؤال
The fifth link on a page can be accessed using

A) links.item(4)
B) links[4]
C) either a or b
D) neither a nor b
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/9
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 12: Document Object Model Dom: Objects and Collections
1
What is the significance of the second function argument in the following line
Window.setInterval( "run()", 100 );

A) The value sets how many times to call the function specified in the first argument.
B) The value sets how long the function is run for.
C) The value sets how often to run the function.
D) The value sets the time to wait before calling the function once.
C
2
In the statement node1.replaceChild( node2, node3 ) , ________ replaces ________.

A) node3, node1
B) node1, node3
C) node2, node3
D) node3, node2
C
3
Which of the following is the proper way to dynamically access the background color

A) document.body.style.BackgroundColor
B) document.body.attributes.BackgroundColor
C) document.body.style.backgroundColor
D) document.body.style.background-color
C
4
Which of these is the method of the window object that stops repetitive calls to a method

A) clearTimer
B) stopTimer
C) stopInterval
D) clearInterval
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 9 في هذه المجموعة.
فتح الحزمة
k this deck
5
The elements in a web page are represented by a(n) ________.

A) object hierarchy
B) parent tree
C) dynamic HTML
D) DOM property
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 9 في هذه المجموعة.
فتح الحزمة
k this deck
6
Function getElementById returns a(n)________.

A) boolean
B) string
C) id attribute
D) object
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 9 في هذه المجموعة.
فتح الحزمة
k this deck
7
Which of the following is not a DOM collection

A) roots
B) anchors
C) links
D) forms
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 9 في هذه المجموعة.
فتح الحزمة
k this deck
8
An HTML5 element inside another element is a ________ of the containing element.

A) parent
B) child
C) instance
D) sub-element
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 9 في هذه المجموعة.
فتح الحزمة
k this deck
9
The fifth link on a page can be accessed using

A) links.item(4)
B) links[4]
C) either a or b
D) neither a nor b
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 9 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 9 في هذه المجموعة.