



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
These are the Exam of HTML and Web Programming which includes Measurement, Cell Phone Turned, Measurement, Overflow Property, Chop Off, User Scrolls, Margin, Padding, Content-Spacing etc.Key important points are: Quotation Marks, Content, Border, Outline, Padding, Margin, Section Represent, Green, Printed, Readers Might
Typology: Exams
1 / 6
This page cannot be seen from the preview
Don't miss anything!




ID: 9999. Exam No. 3193 CS-081/Vickery Page 1 of 6
NOTE: It is my policy to give a failing grade in the course to any student who either gives or receives aid on any exam or quiz.
INSTRUCTIONS: Circle the letter of the one best choice for each question. There is no penalty for guessing, so be sure to answer each question.
Please say “hello” to everyone.
A. Theand
should be capitalized. B. The quotation marks might not display properly; they should be “ and ”. C. There has to be an id attribute inside the paragraph opening tag. D. There has to be a space after the / in the paragraph closing tag. E. Nothing, it is perfect just the way it is.All <p> tags are good.
A. All “p” tags are good. B. All ‘p’ tags are good. C. All <p> tags are good. D. Alltags are good. E.
All p tags are good.
Exam ID: 3193 CS-081/Vickery Page 2 of 6
A. p { wrap: on; } B. img { wrap: right; } C. p { float: left; } D. img { float: right; } E. peaches { surround-with: text; }
Exam ID: 3193 CS-081/Vickery Page 4 of 6
Define focus. A. It tells how sharp the text is compared to the pictures. B. It causes a function to be defined. C. It tells how large a is. D. It tells the size of the browser window. E. It identifies the input element that will receive characters typed by the user.
What is a used for? A. To describe the form control that has an id attribute that matches the ’s for attribute. B. To describe the form control that has a for attribute that matches the ’s id attribute. C. To add text to a table. D. To add a table to some text. E. To put a title on a picture.
Which statement is correct: A. An elements. B. Every element. C. The id of an . D. A element contains one or more and
Exam ID: 3193 CS-081/Vickery Page 5 of 6
What is an object? A. A container for variables and references to functions and other objects. B. To take issue with what someone says on a web page. C. A list of values. D. A piece of code that gets executed at another time. E. A way to set the color of the background without using an image.
How does a browser differentiate between Javascript code, XHTML code, and CSS rules? A. Javascript code always starts with tags tell the browser what code is Javascript. C. tags tell the browser what code is Javascript. D. The browser never encounters Javascript code because the server executes it. E. Javascript code always starts with and A. It defines a function that will be executed when the page loads. B. It displays a message that tells how many paragraphs there were before that point in the web page. C. It displays a message that tells the total number of paragraphs in a web page no matter where it is placed. D. It causes an error because you cannot have two dots in an alert(). E. It tells the server to load the browser into the backend processor’s auxiliary pouch.
What is an array? A. An XHTML table with just one column. B. An XHTML table with just one row. C. A type of variable that can hold a list of values. D. A two-dimensional image. E. A picture with a transparent background.
What does this code do? var sum = 0; for (var i = 0; i < anArray.length; i++) { sum = sum + anArray[i]; } A. It puts the number 123 into sum. B. It computes the length of the string named anArray. C. It adds up the values of all the elements in an array. D. It calculates the average size of the images on a web page. E. It causes a paragraph to be centered on the page.
What is the relationship between XHTML tags and DOM tree nodes? A. There is no relationship between them B. XHTML tags contain DOM tree nodes. C. DOM tree nodes contain XHTML tags. D. DOM tree nodes represent XHTML tags. E. DOM tree nodes are the upper case representation of XHTML tags.
What event occurs after the browser has built the DOM tree? A. dom.built B. file.loaded C. web_page.processed D. window.onload E. document.finished