Workshop


The workshop contains quiz questions and activities to help you solidify your understanding of the material covered. Try to answer all questions before looking at the "Answers " section that follows.

Quiz

1:

What is an aural web page?

2:

What happens to an external style sheet that is linked to a page without any media attribute being specified?

3:

How would you link a style sheet named freestyle.css to a page so that it applies only when the page is viewed on a television?

Answers

A1:

An aural web page is a page designed to be listened to. Right now, true aural web pages via CSS are a future consideration for web developers. However, they do provide a clue as to the direction the web is headed in, which is a heavier reliance on style sheets for more than just applying fonts, colors, and positioning.

A2:

The media attribute assumes its default value of all, which causes the style sheet to target all media types.

A3:

<link rel="stylesheet" type="text/css" href="freestyle.css" media="tv" />




SAMS Teach Yourself HTML and CSS in 24 Hours
Sams Teach Yourself HTML and CSS in 24 Hours (7th Edition)
ISBN: 0672328410
EAN: 2147483647
Year: 2005
Pages: 345

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net