ExamVeda
Login
Home
31
Each tab in the single web browser window is called as
Discuss
Answer & Solution
Answer: Option B
Solution:
A single web browser window on your desktop may contain several tabs. Each tab is an independent browsing context.
32
Nested documents in the HTML can be done using
Discuss
Answer & Solution
Answer: Option C
Solution:
HTML documents may contain nested documents using an iframe element. An iframe creates a nested browsing context represented by a Window object of its own.
33
What is the distinction made by the Client-side JavaScript between windows, tabs, iframes, and frames ?
Discuss
Answer & Solution
Answer: Option A
Solution:
Client-side JavaScript makes very little distinction between windows, tabs, iframes, and frames: they are all browsing contexts, and to JavaScript, they are all Window objects.
34
What is the distinction made by JavaScript between windows, tabs, iframes, and frames ?
Discuss
Answer & Solution
Answer: Option D
Solution:
Client-side JavaScript makes very little distinction between windows, tabs, iframes, and frames: they are all browsing contexts, and to JavaScript, they are all Window objects.
35
A new web browser window can be opened using which method of the Window object ?
Discuss
Answer & Solution
Answer: Option B
Solution:
You can open a new web browser window with the open() method of the Window object. Window.open() loads a specified URL into a new or existing window and returns the Window object that represents that window.
36
What will happen if the first argument of open() is omitted?
Discuss
Answer & Solution
Answer: Option B
Solution:
When the first argument of the open() is omitted, the about:blank is opened.
37
Which object serves as the global object at the top of the scope chain?
Discuss
Answer & Solution
Answer: Option D
Solution:
The Window object serves as the global object at the top of the scope chain in client-side JavaScript.
38
Which is the property of a Window object that holids the name of the frame?
Discuss
Answer & Solution
Answer: Option A
Solution:
The name property of a Window object holds the name of the frame, if it has one. This property is writable, and scripts can set it as desired.
39
When will the fourth argument to open() useful?
Discuss
Answer & Solution
Answer: Option C
Solution:
The fourth argument to open() is useful only when the second argument names an existing window. This fourth argument is a boolean value that indicates whether the URL specified as the first argument should replace the current entry in the window’s browsing history (true) or create a new entry in the window’s browsing history (false). Omitting this argument is the same as passing false.
40
The inner frame within a top-level window can be referred as
Discuss
Answer & Solution
Answer: Option B
Solution:
If a frame is contained within another frame that is contained within a top-level window, that frame can refer to the top-level window as parent.parent.