Quiz on Lecture 8

This quiz offers 10 questions for 58 points.

Question 1 (8 points) empty icon

Style sheets describe how documents are
presented on screen
coded in Unicode
presented in print
organised in terms of their structure
pronounced
aesthetically appraised
rendered in braille
best copied

Pick all that apply -      

Question 2 (5 points) empty icon

Stylesheet language standards include
PHP
XSL
DHTML
CSS
JavaScript

Pick all that apply -      

Question 3 (2 points) empty icon

Cascading Style Sheets are called "cascading" because
style sheets describe the flow of presentation progressively down the presentation medium
style declarations are progressively accumulated while preserving consistency from internal to external sources
style sheet declarations are obeyed hierarchically down a document's structure

Pick one -      

Question 4 (6 points) empty icon

Style instructions can be given to HTML pages by
style aspect directives like color="aqua" appearing as HTML tag attributes
<style> tags embedded in HTML page
HTML processing instruction such as <?html-stylesheet type="text/css" href="style.css"?>
<link> statement to stylesheet in head section of HTML page
adding attribute to HTML tag such as style@import="http://style.com/look.css"
style attribute on any HTML tag

Pick all that apply -      

Question 5 (4 points) empty icon

All HTML elements can be given
multiple id attributes
single class attribute
single id attribute
multiple class attributes

Pick all that apply -      

Question 6 (5 points) empty icon

Which of the following tags are legal HTML syntax for grouping blocks of text
<group> ... </group>
<span> ... </span>
<br> ... </br>
<div> ... </div>
<body> ... </body>

Pick all that apply -      

Question 7 (2 points) empty icon

CSS statements have pattern
selectorA@property1: value1; ... ; selectorZ@propertyN: valueN;
selector { property1: value1; ... ; propertyN: valueN }
{ property1: value1; ... ; propertyN: valueN }

Pick one -      

Question 8 (7 points) empty icon

Valid style properties in CSS include
size
font-style
length
margin-left
background-colour
color
CSS-version

Pick all that apply -      

Question 9 (12 points) empty icon

XML tags
are order sensitive
are case insensitive
are case sensitive
needn't quote attribute values consisting solely of alphabetic letters and digits
must quote all attribute values
must be in iso6659-1 character set (e.g. largely Latin letters only)
do not repeat attributes
can have repeated attributes
must be standalone or come in properly nested pairs
must come in properly nested pairs
have exactly one top level or root element
may have more than one top level elements

Pick all that apply -      

Question 10 (7 points) empty icon

XHTML is XML compatible version of HTML 4.0 where
tag and attribute names are case insensitive
element and attribute names are written in lower case
frames are not allowed
attribute values must be enclosed in quotes
XML processing instructions are not allowed
elements must be explicitly closed and properly nested
deprecated attributes like color="red" are not allowed

Pick all that apply -      

Answer button locks: on off   -   set correct

       


© Hamish Taylor 2013
XHTML 1.0