Advanced Examples: Cascading Style Sheets and Links
Cascading Style Sheets have been part of the HTML specifications since 1996, when CSS1 was released. However, only in the past few years have style sheets been implemented in major browsers to the extent that all of their features were usable. The idea behind style sheets is relatively simple, but their effects are wide-ranging. Using CSS, the web page itself contains only content and structure; all aspects of presentation are assigned to style sheets. Eric Costello describes three major benefits of this presentation/structure split: "increased accessibility, improved performance, decreased production work" (25). CSS-enabled pages are more readily accessible to a variety of browsers, they're smaller and load more quickly, and their upkeep is much simpler since stylistic changes can be made on a single style sheet rather than revising dozens of individual pages.
Linking provides another area for advanced activities in HTML classes, although it may seem odd to include linking as an "advanced" exercise since links are the fundamental structure of the web. Yet discussions of linking, and particularly of more complex link attributes such as target=_blank and a:hover, can lead to discussions of the nature of hypertext itself.
Citation Format:
Batschelet, Margaret. "Learning To Love the Code: HTML As a Tool in the Writing Classroom." The Writing Instructor. 2004. http://www.writinginstructor.org/files/batschelet/
(Date Accessed).
Review Process: Margaret Batschelet's
hypertext was accepted for publication following blind, peer review.