exam 1 - Spring 2011 - KEY

exam 1 - Spring 2011 - KEY - CIS 4004 Exam#1 Spring 2011...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Multiple Choice/True-False Section (3 points each) – Circle the correct answer. 1. Would an XHTML document pass Strict-DTD validation if it included the following line of markup? <p><b>A picture<img src=”picture.jpg” alt=”pic” /></p></b> (a) Yes (b) No 2. Working from the center of the box toward the outside, a CSS box consists of: (a) content, margin, padding, border (b) content, border, padding, margin (c) content, padding, margin, border (d) None of the above are correct 3. The visible width of an element on a Web page is the total of the content width, padding width and border width. (a) True (b) False 4. An element that is positioned using the float property is rendered in normal flow and then shifted either left or right as far as possible within its container (element). (a) True (b) False 1 CIS 4004 – Exam #1 – Spring 2011 February 23, 2011 105 points total Name: (Please print clearly) KEY
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Using CSS-P an element can be placed on a page using one of four different techniques. If you want the elements to appear in the order in which they appear in the XHTML document you would be using (a) relative positioning (b) absolute positioning (c) float property (d) normal flow 6. The clear property is used whenever you want an element to “clear” another element which is absolutely positioned. (a) True (b) False 7. Absolute positioning is used to place an element in a fixed position on the web page. This is done by setting the position property to absolute. Which of the following additional properties must also be specified for an absolutely positioned element? (a) top (b) left (c) right (d) bottom (e) any of (a), (b), (c), or (d) (f) any of (a). (b), or (d) (g) only (b) or (c) (h) all of (a), (b), (c), and (d) 8. To be semantically correct, a navigation list should be constructed using <p> elements set to display either as a block or inline. (a) True
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 10

exam 1 - Spring 2011 - KEY - CIS 4004 Exam#1 Spring 2011...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online