quiz: 07.18

Name

1. For each statement below, tell which of the following items best matches the statment: XSL (eXtensible Style Language), CSS (Cascading Style Sheets), or both: (1 point each)

 

Can be applied to both XML and HTML documents.

Can transform an XML document into another, completely separate XML or HTML document.

Changes the display of a document, by formatting qualities such as type size and background colors.

Full specification may not be supported by current web browsers.

Example:

ingredient {display: block; color: blue; margin-left:40px}

Example:

<***:apply-templates select="ingredient"/>

where "***" takes the place of three other characters that would give the answer away. ;)

2. Why are cascading style sheets called "cascading"? (4 points)