# Provided by the Open.Michigan initiative at the University of Michigan # Licensed under a Creative Commons Attribution 3.0 License: # http://creativecommons.org/licenses/by/3.0/. # Copyright 2009, Chuck Severance. SI502 - Assigment 7 - HTML and CSS Due Date: Friday March 20, 2009 Answer the following questions and turn your edited document document into CTools under Assignments. If a question is confusing - feel free to comment on what confuses you w.r.t. the question. Keep the file a Text file with a .txt extension - Use your programmer editor (i.e. JEdit to edit the file). Bring this to Discussion in paper or laptop form - you can talk about the questions in Discussion and improve your answers - and then turn the assignment in after Discussion. 1) In the late 1990's, HTML became increasingly complex as designers used HTML features like tables to control the look and feel and layout of a page. What is the current best practice approach for specifying the look feel and layout of a page in 2008? 2) What does it mean when someone says that the HTML should be marked up based on the "semantics" of the page? 3) Give an example of the (a) a self-closed HTML tag and (b) an attribute on an HTML tag. 4) What is the purpose of the alt attribute on the img tag? 5) In the following CSS rule, body { font-family: "Trebuchet MS", Helvetica, Arial, sans-serif; font-size: x-large; } Why is there more than one font specified? 6) What are the four link states of anchor (a) tags that can be separately styled in CSS? 7) What i the differece between the class= and id= attribute on a tag? 8) In the CSS box model, is margin inside or outside of the border? 9) What CSS selector (font-family, color, etc) is used to change a list from being displayed vertically to it being displayed horizontally? 10) Describe two things that you should keep in mind when designing a web page for accessibility.