Deck 13: Positioning With DHTML
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 13: Positioning With DHTML
1
You can specify coordinate values in____.
A)points
B)pixels
C)inches
D)All of the above
A)points
B)pixels
C)inches
D)All of the above
D
2
Any element not enclosed by another element is ____ positioned with respect to the top-left corner of the window.
A)absolutely
B)relatively
C)hierarchically
D)primarily
A)absolutely
B)relatively
C)hierarchically
D)primarily
A
3
DHTML allows precise positioning of page elements through an extension of cascading style sheets called ____.
A)CSSP
B)XML
C)ISC
D)DSP
A)CSSP
B)XML
C)ISC
D)DSP
A
4
Any element not enclosed by another element is a ____ of the browser window.
A)founder
B)descendent
C)basis
D)child
A)founder
B)descendent
C)basis
D)child
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
5
____ allows you to position elements absolutely or relatively.
A)ISC
B)DSP
C)XML
D)CSSP
A)ISC
B)DSP
C)XML
D)CSSP
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
6
You can use ____ positioning to specify the coordinates of an element relative to its parent element.
A)relative
B)absolute
C)parental
D)hierarchical
A)relative
B)absolute
C)parental
D)hierarchical
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
7
If you don't specify units for coordinates, the browser defaults to ____.
A)picas
B)inches
C)pixels
D)points
A)picas
B)inches
C)pixels
D)points
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
8
To specify positioning using CSSP, you use the ____ attribute.
A)location
B)position
C)proximity
D)caption
A)location
B)position
C)proximity
D)caption
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
9
You can use absolute positioning to specify the ____ coordinates of an element relative to its parent.
A)top and right
B)bottom and right
C)top and left
D)bottom and left
A)top and right
B)bottom and right
C)top and left
D)bottom and left
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
10
____ places elements more predictably than HTML when users view pages in different screen resolutions.
A)XML
B)Perl
C)JavaScript
D)CSSP
A)XML
B)Perl
C)JavaScript
D)CSSP
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
11
Standard HTML pages can use ____ to display text in columns rather than in a single block.
A)indices
B)grids
C)tables
D)sorting fields
A)indices
B)grids
C)tables
D)sorting fields
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
12
Even when using ____ as the unit of measurement for coordinates, it is a good idea to specify units in order to make your code clearer when debugging it and when others read it.
A)points
B)inches
C)picas
D)pixels
A)points
B)inches
C)picas
D)pixels
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
13
You can also position elements using ____ coordinates.
A)left and bottom
B)right and bottom
C)top and left
D)top and right
A)left and bottom
B)right and bottom
C)top and left
D)top and right
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
14
Elements in the document window appear larger or smaller based on screen ____.
A)bit depth
B)parameters
C)resolution
D)dimensionality
A)bit depth
B)parameters
C)resolution
D)dimensionality
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
15
You can set the widths of columns of information as fixed ____.
A)points
B)pixels
C)picas
D)inches
A)points
B)pixels
C)picas
D)inches
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
16
You can size an element relative to its ____ element by using percentages.
A)parent
B)child
C)base
D)primary
A)parent
B)child
C)base
D)primary
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
17
CSSP allows you to simply offset elements from their default positions in the page flow, in ____ positioning.
A)absolute
B)hierarchical
C)parental
D)relative
A)absolute
B)hierarchical
C)parental
D)relative
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
18
As a(n) ____ positioned element moves into position, the elements that follow do not move up to fill its former location in the browser window.
A)absolutely
B)relatively
C)primarily
D)hierarchically
A)absolutely
B)relatively
C)primarily
D)hierarchically
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
19
A(n) ____ in front of a style name indicates that the style is for an element with an ID.
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
20
You can change the sizes of elements by percentage based on screen ____.
A)width
B)resolution
C)dimensionality
D)depth
A)width
B)resolution
C)dimensionality
D)depth
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
21
By setting a sidebar's width as a percentage rather than in fixed ____ you can allow a sidebar to adjust to eh size of the page.
A)picas
B)points
C)pixels
D)inches
A)picas
B)points
C)pixels
D)inches
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
22
Web page ____ are like sheets of clear acetate with writing or images on them.
A)rosters
B)tables
C)layers
D)frames
A)rosters
B)tables
C)layers
D)frames
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
23
Dragging is also known as ____ positioning.
A)static
B)dynamic
C)primary
D)absolute
A)static
B)dynamic
C)primary
D)absolute
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
24
Elements aligned or sized in fixed units can appear at different positions, depending on the user's ____ settings.
A)bit depth
B)parameters
C)resolution
D)dimensionality
A)bit depth
B)parameters
C)resolution
D)dimensionality
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
25
Setting the ____ value for the overflow property would instruct the browser to display scroll bars to allow site visitors to scroll through an entire list.
A)scroll
B)display
C)show
D)visible
A)scroll
B)display
C)show
D)visible
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
26
Setting an element's width as a percentage of the page prevents the browser from presenting the page with a disproportionate amount of ____ white space.
A)active
B)passive
C)primary
D)concatenated
A)active
B)passive
C)primary
D)concatenated
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
27
An element positioned using ____ positioning remains on the same later as the rest of the standard page elements and is not affected by the z-index order.
A)absolute
B)hierarchical
C)primary
D)relative
A)absolute
B)hierarchical
C)primary
D)relative
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
28
____ positioning combines scripting with style sheet positioning to adjust the position of a selected element based on the coordinates of the mouse pointer.
A)Static
B)Dynamic
C)Primary
D)Absolute
A)Static
B)Dynamic
C)Primary
D)Absolute
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
29
This relative size relationship is not exclusive to the window object as the parent element, but can be set for an element that is a child of any other element, such as a ____ within the window.
A)panel
B)frame
C)caption
D)division
A)panel
B)frame
C)caption
D)division
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
30
Because a(n) ____ positioned element can appear anywhere on a Web page, including the space occupied by other elements, browsers do not format pages containing these elements as they format standard HTML pages.
A)relatively
B)negative
C)absolutely
D)positive
A)relatively
B)negative
C)absolutely
D)positive
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
31
Each layer's ____ property determines its position in a stack of layers.
A)z-index
B)validated
C)index
D)ranking
A)z-index
B)validated
C)index
D)ranking
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
32
You can use the ____ property to remove an element from the main text flow.
A)remove
B)delete
C)sidebar
D)float
A)remove
B)delete
C)sidebar
D)float
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
33
While a column of 150 px may fit perfectly in an 800 × 600 display, that same column may be surrounded by passive white space at ____.
A)400 x 600
B)600 x 800
C)640 x 480
D)1024 x 768
A)400 x 600
B)600 x 800
C)640 x 480
D)1024 x 768
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
34
When no other z-index values are specified, you can use a(n)____ z-index value to place an element behind existing content.
A)positive
B)negative
C)absolute
D)relative
A)positive
B)negative
C)absolute
D)relative
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
35
You can associate a scroll bar with an element when the element is too large to fit its defined size, using the ____ property.
A)scroll
B)overflow
C)visible
D)display
A)scroll
B)overflow
C)visible
D)display
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
36
To create a layer you use a ____ with an id property.
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
37
To control the order in which each of a number of layers stacks on a page, you can specify the element's ____-index property.
A)z
B)x
C)y
D)w
A)z
B)x
C)y
D)w
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
38
One of DHTML's greatest shortcomings with regard to Web page design is its inability to precisely position elements on a page.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
39
The ____ feature allows you to create many text effects that are difficult to create with HTML alone.
A)float
B)side
C)absolute
D)relative
A)float
B)side
C)absolute
D)relative
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
40
The default z-index value for all absolutely positioned elements is ____.
A)0
B)-1
C)1
D)null
A)0
B)-1
C)1
D)null
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
41
You can create complex layouts such as those that superimpose words in different colors or that overlap parts of images.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
42
Advanced tabular layout features in HTML were designed to provide advanced formatting; their content always reads the way it should for users of accessibility devices such as text readers.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
43
Standard HTML pages can use indices to display text in columns rather than in a single block.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
44
DHTML positioning and sizing features open doors to many possibilities for Web page enhancements.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
45
Although some advanced page layout is possible with CSSP, HTML makes the task much easier to code and offers features not possible with CSSP alone.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
46
If you choose not to specify the height or the width, the browser sizes the element automatically.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
47
Having an awareness of the size of a particular page element is helpful in determining the required positioning coordinates.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
48
Like absolute positioning, relative positioning leaves an element in the document flow.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
49
Determining the exact number of units for an element's position coordinates is always an exact process.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
50
Text flow may vary from screen to screen, depending on their bit depths.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
51
You cannot use the same units to specify the two dimensions of an element as you use to specify its position.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
52
DHTML style properties also allow you to specify an element's dimensions using the height and width properties.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
53
You cannot position elements in relation to other elements on the screen; you can only position elements using the top and left coordinates.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
54
In addition to using proportional sizing and positioning with text elements, you can also use the method to specify image sizes.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
55
By changing a graphic's resolution slightly at regular intervals, you can animate it with DHTML.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
56
You can size an element relative to its child elements by using percentages.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
57
The relative size relationship is exclusive to the window object as the parent element.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
58
Making it possible for both older and newer browsers to render your layout is often referred to as cross-platform support.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
59
An # in front of a style name indicates that the style is for an element with an ID.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
60
Sidebars and scroll bars complement positioning to help create effective page layouts.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
61
To create a layer you use a with an id property.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
62
The overflow property allows you to create the equivalent of an independent frame anywhere within your browser window.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
63
To control the order in which each of a number of layers stacks on a page, you can specify the element's w-index property.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
64
When the sheets are superimposed as layers in the browser window, all the content of all sheets is available.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
65
Be sure not to use the z-index feature to add content that is critical information to the end user.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
66
For some applications, specifying an exact measurement is important.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
67
When sheets are superimposed as layers in the browser window, some elements may block out others, depending on their order in the stack.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
68
Lower z-index numbers are located closer to the top of the stack, and elements on these layers will block out elements or superimpose themselves over elements in the same position on higher layers of the stack.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
69
Some elements may block out others, depending on their order in the stack.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
70
An element positioned using absolute positioning remains on the same layer as the rest of the standard page elements and is not affected by the z-index order.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
71
Because an absolutely positioned element can appear anywhere on a Web page, including the space occupied by other elements, browsers format pages containing these elements as they format standard HTML pages.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
72
Z-index positioning will work in all browsers currently in use.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
73
Elements on higher layers will block out elements in the same position on lower layers of the stack.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
74
The default z-index value for all absolutely positioned elements is -1.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
75
Most current-day browsers no longer accommodate the overflow property.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
76
Web page rosters are like sheets of clear acetate with writing or images on them.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
77
When no other z-index values are specified, you can use a positive z-index value to place an element behind existing content.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
78
Setting an element's width as a percentage of the page prevents the browser from presenting the page with a disproportionate amount of active white space.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
79
Each layer's index property determines its position in a stack of layers.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
80
When sheets are superimposed as layers in the browser window, all the content of all sheets is available.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck