Web Applications Sebesta 5e 2009 Chap 3

Web applications XML, HTML, XHTML various. All flashcard questions come from Programming the World Wide Web 2009 Fifth Edition Robert W. Sebesta, Chapter 3

27 cards   |   Total Attempts: 182
  

Related Topics

Cards In This Set

Front Back
  1. What is the advantage of document-level style sheets over in-line style sheets?
Inline style sheets apply only to the content of a single XHTML element, document-level style sheets apply to the whole body of the document.
  1. What attributes are required in a link to an external style sheet?
The rel attribute is used to specify the relationship of the linked-to document to the document in which the link appears. The href attribute is used to specify the url of the style sheet document.
  1. What is the purpose of external style sheets?
To have a style sheet that applies to more than one document.
  1. What is the format of an in-line style sheet?
Inline style sheets/specifications appear within the opening tag and apply only to the content of that tag.
  1. What is the format of a document-level style sheet, and where does it appear?
Document level style specifications appear in the document head section and apply to the entire body of the document.
  1. What is the format of an external style sheet?
The external file consists of a list of style rules like:
p {…} h {….}
  1. What is the form of comments within the rule list of a document-level style sheet?
/*document level comments in style section*/
  1. What is the purpose of style class selector?
Class selectors are used to allow different occurrences of the same tag to use different style specifications.
  1. What is the purpose of a generic class?
A generic class is defined without a tag in its name and used so that a class of style specifications can apply to the content of more than one tag.
  1. Are keyword property values case sensitive or non case sensitive?
They are not case sensitive.
  1. Why is a list of font names given in the value of a font—family property?
The browser uses the first font in the list that it supports. If not, it moves on to the next one.
  1. In what order must property values appear in the list of font properties?
The order in which the property values are given in a font value list is important. The order must be as follows:
· Font names must be last
· Font size must be second last
· Font style, font variant, and font weight, when the are included can be in any order but must precede the font size and font names
· -> font style, variant, weight, size, names
  1. In what ways can text be modified with text—decoration?
· Line-through, overline, underline are used for putting lines in the text · None is used to specify no underlines (links ie) · The letter-spacing property controls the amount of space between the characters in the text.
  1. How is the list—style—type property used with unordered lists?
It determines what precedes the items in an unordered list.
  1. What are the possible values of the list—style—type property when used with ordered lists?
Disc, circle, square, or none