Deck 12: Controlling Content Dynamically
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/130
Play
Full screen (f)
Deck 12: Controlling Content Dynamically
1
You can use dynamic content tools to associate an external text file with a Web page by using ____.
A)data binding
B)sorting
C)data selection
D)dynamic modification
A)data binding
B)sorting
C)data selection
D)dynamic modification
A
2
An element's ____ property includes the element contents and the tags surrounding it.
A)innerHTML
B)null
C)outerHTML
D)proximity
A)innerHTML
B)null
C)outerHTML
D)proximity
C
3
The ____ connects Web pages to scripts or programming languages.
A)DOT
B)DOP
C)DOM
D)DOL
A)DOT
B)DOP
C)DOM
D)DOL
C
4
Dynamic content includes special features for easily creating and working with ____ data.
A)spreadsheet
B)table
C)indexed
D)image
A)spreadsheet
B)table
C)indexed
D)image
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
5
Dynamic content tools can create portions of your Web pages for you at ____ time.
A)launch
B)run
C)start
D)load
A)launch
B)run
C)start
D)load
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
6
You would type ____ to specify the null value.
A)two single quotes
B)a double quote
C)an ampersand
D)a pound sign
A)two single quotes
B)a double quote
C)an ampersand
D)a pound sign
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
7
Take care not to avoid a common mistake by adding a ____ between the single quotes following outerHTML= or you will not have specified the null value with the correct syntax.
A)colon
B)space
C)semicolon
D)period
A)colon
B)space
C)semicolon
D)period
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
8
DHTML includes many tools for altering a Web page's appearance in response to user ____.
A)binding
B)actions
C)running
D)linking
A)binding
B)actions
C)running
D)linking
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
9
____ time is the period when a browser first interprets and displays the Web page and runs scripts.
A)Launch
B)Start
C)Run
D)Load
A)Launch
B)Start
C)Run
D)Load
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
10
The text between the tags in the tag set that creates a button is the ____ that appears on the button.
A)color
B)font
C)label
D)style
A)color
B)font
C)label
D)style
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
11
You can program a page to generate a table of contents for the page at ____ time.
A)start
B)launch
C)load
D)run
A)start
B)launch
C)load
D)run
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
12
Changing the outerHTML property to a(n) ____ value removes the element and its surrounding tags from the Web page.
A)indexed
B)unit
C)null
D)unary
A)indexed
B)unit
C)null
D)unary
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
13
Dynamic content allows you to change an element in response to a user's ____ movements.
A)mouse pointer
B)running
C)scripting
D)data binding
A)mouse pointer
B)running
C)scripting
D)data binding
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
14
You can script a Web page to add elements dynamically at ____ time.
A)start
B)load
C)launch
D)run
A)start
B)load
C)launch
D)run
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
15
Dynamic content tools allow your Web page elements to change based on user ____.
A)binding
B)actions
C)input
D)linking
A)binding
B)actions
C)input
D)linking
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
16
Data binding allows the user's browser to generate a Web page table from a(n) ____ data file at run time.
A)internal
B)keyed
C)linked
D)external
A)internal
B)keyed
C)linked
D)external
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
17
Using scripts to change text attributes such as color and font size affects only the ____ of elements.
A)style
B)base
C)foundation
D)definition
A)style
B)base
C)foundation
D)definition
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
18
True dynamic content involves ____ and replacing page elements.
A)displaying
B)alternating
C)indexing
D)reordering
A)displaying
B)alternating
C)indexing
D)reordering
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
19
The ____ provides access to all the elements of a Web page.
A)DOL
B)DOP
C)DOT
D)DOM
A)DOL
B)DOP
C)DOT
D)DOM
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
20
The tag set creates a button with a customizes function.
A)caption
B)button
C)key
D)index
A)caption
B)button
C)key
D)index
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
21
Linking an external database with a Web page is known as ____.
A)data binding
B)sorting
C)data selection
D)dynamic modification
A)data binding
B)sorting
C)data selection
D)dynamic modification
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
22
If you are using a Netscape browser and a table does not load, select Options from the Tools menu, click the ____ button, then click the Download button in the Advanced window to download the browser updates.
A)Options
B)Advanced
C)Download
D)File
A)Options
B)Advanced
C)Download
D)File
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
23
Code can be disabled using ____.
A)/@ @/
B)/+ +/
C)/* */
D)/>
A)/@ @/
B)/+ +/
C)/* */
D)/>
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
24
One of DHTML's most powerful features for working with tables in your Web pages is dynamic table ____.
A)generation
B)parsing
C)sorting
D)loading
A)generation
B)parsing
C)sorting
D)loading
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
25
Nested elements within object tags denote parameters for an object.
A)this
B)attrib
C)param
D)value
A)this
B)attrib
C)param
D)value
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
26
When a page loads, the browser creates a dynamically generated table at ____ time.
A)start
B)run
C)load
D)launch
A)start
B)run
C)load
D)launch
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
27
The ____ used with the datasrc attribute in a table tag indicates that the source is an object in the same Web page.
A)#
B)@
C)$
D)%
A)#
B)@
C)$
D)%
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
28
To allow your information to get out to everyone who wants to review it without alarming viewers, you can include a(n) ____ that keeps error messages from appearing in incompatible browsers.
A)table
B)failsafe
C)script
D)error checker
A)table
B)failsafe
C)script
D)error checker
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
29
XML allows you to create pages in which styles change instantly based on user actions.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
30
By setting the value of the object window.____ to false, you prevent error windows from opening when scripts have problems completing.
A)fail
B)quit
C)onerror
D)error
A)fail
B)quit
C)onerror
D)error
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
31
Dynamic table generation was first introduced in ____.
A)Internet Explorer 4
B)Internet Explorer 5
C)Internet Explorer 6
D)Firefox 1.0
A)Internet Explorer 4
B)Internet Explorer 5
C)Internet Explorer 6
D)Firefox 1.0
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
32
The ____ property replaces an element but leaves its enclosing HTML tags intact.
A)null
B)proximity
C)outerHTML
D)innerHTML
A)null
B)proximity
C)outerHTML
D)innerHTML
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
33
You would use the ____ property if you want to replace a number, which is within HTML tags, and not any of the surrounding text or HTML tags.
A)innerHTML
B)outerHTML
C)null
D)proximity
A)innerHTML
B)outerHTML
C)null
D)proximity
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
34
In the element, the ____ parameter identifies the name of the external file to be bound.
A)UseHeader
B)border
C)ExtFile
D)DataURL
A)UseHeader
B)border
C)ExtFile
D)DataURL
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
35
Error ____ removes an important debugging aid.
A)passing
B)suppression
C)contextualizing
D)concatenation
A)passing
B)suppression
C)contextualizing
D)concatenation
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
36
The ____ attribute in the table tag refers to a particular object element with a specified id.
A)id
B)datasrc
C)origin
D)file
A)id
B)datasrc
C)origin
D)file
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
37
In the element, the true value for the ____ attribute specifies that the data in an external file includes a row of information identifying the contents of each column.
A)HasTitle
B)UseHeader
C)TopRow
D)TopColumn
A)HasTitle
B)UseHeader
C)TopRow
D)TopColumn
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
38
The code that follows an advanced content function in parentheses, as in cycle(txt1, "Hiking,Bicycling, Camping,Kayaking,Climbing,Find all your gear at,Nomad Outfitters", 30) are the display ____ for the text that the function should cycle through.
A)parameters
B)keys
C)matrices
D)attributes
A)parameters
B)keys
C)matrices
D)attributes
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
39
The JavaScript comment tags are ____.
A)/@ @/
B)/+ +/
C)/* */
D)/>
A)/@ @/
B)/+ +/
C)/* */
D)/>
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
40
When you swap one graphic for another, this action creates the illusion of modifying the original graphic, much like changing text color using ____.
A)glossaries
B)style sheets
C)color palettes
D)color libraries
A)glossaries
B)style sheets
C)color palettes
D)color libraries
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
41
A script that works in IE and newer Netscape browsers will also work in older browsers.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
42
Scripts cannot permit users to move items around or to delete elements from a Web page.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
43
Dynamic content tools can create portions of your Web pages for you at launch time.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
44
The tag set creates a button with a customizes function.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
45
Adding content at run time with scripts can allow you to create impressive customized and versatile Web pages.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
46
You can use dynamic content tools to associate an external database with a Web page by using data linking.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
47
Dynamic content includes special features for easily creating and working with spreadsheet data.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
48
You can program a page to generate a table of contents for the page at launch time.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
49
A comment begins with the
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
50
Using scripts to change text attributes affects the style as well as the elements themselves.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
51
Allowing users to delete elements from a Web page is especially useful in a content-laden page in which the user might want to pare down the content to pertinent elements or sections.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
52
You cannot script a Web page to add elements dynamically at run time.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
53
Take care not to avoid a common mistake by adding a colon between the single quotes following outerHTML= or you will not have specified the null value with the correct syntax.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
54
True dynamic content is more than showing or hiding content.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
55
To assign the null variable to an element, you would type a double quote.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
56
You can script your Web page to allow users to tailor it to suit their needs.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
57
Data binding allows the user's browser to generate a Web page table from an internal data file at launch time.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
58
You can use scripts to alter any page element based on conditions on the user's computer or on the page's current contents.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
59
The DOM provides access to most of the elements of a Web page.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
60
DHTML allows users to modify a page's content.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
61
You can add interactivity by modifying page content in response to user actions.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
62
Changing the innerHTML property to a(n) null value removes the element and its surrounding tags from the Web page.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
63
The code that follows an advanced content function in parentheses, as in cycle(txt1, "Hiking,Bicycling, Camping,Kayaking,Climbing,Find all your gear at,Nomad Outfitters", 30) are the display attributes for the text that the function should cycle through.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
64
Dynamic sorting occurs when users click the relevant row heading.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
65
Dynamic content lets you create pages that change content in response to various events.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
66
With dynamic table generation, because the table is re-created each time a user opens the page, you can change the contents of the external data source without changing the Web page code.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
67
Instead of creating a table using a tag for each element, you can simply create the headers, then add code to reference data located in an external file.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
68
No HTML tag recognizes typed line breaks.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
69
Dynamic table generation is not supported by Netscape browsers.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
70
The text between the tags in the tag set that creates a button is the style that appears on the button.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
71
The VBScript comment tags are /* */.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
72
One of DHTML's most powerful features for working with tables in your Web pages is dynamic table parsing.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
73
An element's innerHTML property includes the element contents and the tags surrounding it.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
74
The outerHTML property replaces an element but leaves its enclosing HTML tags intact.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
75
Dynamic table generation is no longer supported by Internet Explorer.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
76
You can use color to highlight the element to which the user is currently pointing.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
77
Combining different DHTML tools in your scripts allows you to present or change your page content using a variety of interesting effects.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
78
By incorporating special features into your Web page, you can enhance your site visitors' experience and help generate repeat visits to your site.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
79
You would use the outerHTML property if you want to replace a number, which is within HTML tags, and not any of the surrounding text or HTML tags.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
80
You can switch to the Netscape Internet Explorer rendering engine by choosing the Internet Explorer option from the Tools/Options/Advanced window.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck