


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
A midterm practice exam for a cs-101 course focusing on web development. It includes multiple choice and written answer questions covering topics such as html, css, and xhtml. Questions cover topics like identifying causes for webpage changes not appearing, validating embedded css, using h1-h6 elements, and more.
Typology: Exams
1 / 4
This page cannot be seen from the preview
Don't miss anything!



My cool page
1) Suppose you made changes to a web page but the change doesn't show up in the browser. What is a possible cause?
a) The browser is showing a cached version b) You forgot to save the changes c) You changed your local copy but the browser's URL is set to the online version d) Any of the above
2) How do you validate embedded CSS?
a) Use the CSS validator on the .css file containing the embedded CSS b) Use the CSS validator on the .html file containing the embedded CSS c) Use the HTML validator on the .css file containing the embedded CSS d) Use the HTML validator on the .html file containing the embedded CSS
3) Which is the most appropriate use of h1 through h6?
a) Defining the hierarchical structure of different sections of a webpage, as in an outline b) It is the best way to make text different sizes c) There really is no practical use for h1 through h d) The h1 is good for headings, but none of the others should ever be used
4) What is the span element best used for?
a) Applying a CSS rule to a particular span of text b) Changing the space between each line of text in a paragraph c) Eliminating the possibility of receiving spam for email addresses listed on a webpage d) Measuring the span of a webpage
5) What is wrong with the following table?
Car Efficiency
Corolla 43 MPG
Echo 48 MPG
a) It should not have the tr elements in this case b) The td and th elements should be switched c) It is missing a tr element d) There is nothing wrong with this table
1) (5 points) Write a line of XHTML inside the following div to display the image "funny.jpg" which is in the images subdirectory.
2) (5 points) Convert the decimal number 65 to hexadecimal
3) (5 points) Give a hexadecimal representation for dark blue-green
4) (35 points) Make this webpage by filling in XHTML and embedded CSS on the first page of this exam. The this site text is a hyperlink that goes to http://cs.nmu.edu. The border of the box at the left is yellow in color, and its background is gray. Assume “This is my page” is a major heading.