McGraw-Hill OnlineMcGraw-Hill Higher EducationLearning Center
Student Center | Instructor Center | Information Center | Home
Sample Code
Multiple Choice Quiz
True or False
Feedback
Help Center


Programming the Web Using XHTML and JavaScript
Larry Randles Lagerstrom

Web Page Design and Layout

Multiple Choice Quiz



1

A good width for a web page is _____ pixels, so that the page will display on most monitors without forcing the user scroll horizontally or vertically.
A)400
B)480
C)600
D)768
2

When using styles for page layout, which tag is used for positioning web page elements?
A)<span>
B)<div>
C)<style>
D)<stylesheet>
3

_____ means a page loads and displays from top to bottom.
A)sequential control flow
B)top-down rendering
C)normal flow
D)none of the above
4

While designing a web page layout with multiple divisions, it is helpful to give each division a different background color using the ______ property.
A)bgColor
B)background
C)bg-color
D)background-color
5

Magazine-style page layout uses ______ to position web-page elements.
A)normal flow
B)absolute positioning
C)padding
D)the align style property
6

What attribute do you use in the <table> tag to add or eliminate extra space between the cells in the table?
A)padding
B)spacing
C)cellspacing
D)cellpadding
7

What attribute do you use in the <tr> tag to cause a row to span across multiple cells?
A)colspan
B)columnspan
C)delve
D)rowspan
8

While designing a web page layout using tables, it is helpful to use which of these table attributes?
A)border=0
B)border=1
C)bgColor="black"
D)table=provisional
9

Which layout mechanism can be used to display different web pages in the same browser window?
A)<div>
B)<table>
C)<frameset>
D)<span>
10

In order to display a link in one frame and connect it to a page displayed in another frame, the _____ attribute is added to the <a> tag.
A)dest
B)destination
C)target
D)name




McGraw-Hill/Irwin