====== The Presentation Layer ====== **Adapted from**: Robert W. Sebasta, Programming the World-Wide Web, 3rd Edition, Addison Wesley, 2006. **Supporting**: the background material for [[eg-259:lecture2|Contact Hour 3]]. - What is the advantage of document-level style sheets over in-line style sheets? - What is the purpose of external style sheets? - What attributes are required in a link to an external style sheet? - What is the format of an in-line style sheet? - What is the format of a document-level style sheet, and where does it appear? - What is the format of an external style sheet? - What is the form of comments within the rule list of a document-level style sheet? - What is the purpose of style class selector? - What is the purpose of a generic class? - Are keyword property values case sensitive or non case sensitive? - Why is a list of font names given in the value of a ''font—family'' property? - What are the five generic fonts? - In what order must property values appear in the list of ''font'' properties? - In what ways can text be modified with ''text—decoration''? - How is the ''list—style—type'' property used with unordered lists? - What are the possible values of the ''list—style—type'' property when used with ordered lists? - If you want text to flow around the right side of an image, which value, ''right'' or ''left'', must be assigned to the ''float'' property of the image? - Why must background images be chosen with care? - What are the possible values for the ''text—align'' property? - What purpose does the ''text-indent'' property serve? - What properties are used to set margins around elements? - What are the three ways colour property values can be specified? - If you want a background image to be repeated vertically but not horizontally, what value must be set to what property? - What properties and what values must be used to put a dotted border around a text box, where the border is red and thin on the left and blue and thick on the right? - What layout information does a '''' tag by itself indicate to the browser? - What is the purpose of the ''
'' tag? ---- [[eg-259:review:home|More Review Questions]]