You will be creating two versions of this web page.
One version is appropriate for viewing on the web; this is called the "browser version".
One version is appropriate for printing; this is called the "printer version".
This is just an introduction to Cascading Style Sheets. They will be studied in much greater
detail later on in the course.
In this document, the CSS information is included in two external style sheets, named:
wksht16_browser_version.css
and
wksht16_print_version.css
.
The code for these two documents appears in the source code for this page, commented out.
There are links to this information in the HEAD
section of this document.
The browser version is called upon when viewing this page in a browser.
The printer version is called upon when printing this web page. Try printing it!
Now, comment out the line of code that begins with media="print"
in the HEAD section,
and also remove the media="screen"
from the other line. Try
printing the page again. See the difference?