11<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22<html lang="en">
3- <!-- $Id: intro.src,v 2.23 1998-03-21 00:34:43 ijacobs Exp $ -->
3+ <!-- $Id: intro.src,v 2.24 1998-04-06 23:40:46 ijacobs Exp $ -->
44<HEAD>
55<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66<TITLE>Introduction to CSS2</TITLE>
@@ -17,8 +17,11 @@ style sheets. For this tutorial, you will need to know a little HTML
1717<P>We begin with a small HTML document:</p>
1818
1919<PRE class="html-example">
20+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
2021<HTML>
22+ <HEAD>
2123 <TITLE>Bach's home page</TITLE>
24+ </HEAD>
2225 <BODY>
2326 <H1>Bach's home page</H1>
2427 <P>Johann Sebastian Bach was a prolific composer.
@@ -48,11 +51,14 @@ an external style sheet. To put the style sheet into the document, use
4851the STYLE element:</p>
4952
5053<PRE class="html-example">
54+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
5155<HTML>
56+ <HEAD>
5257 <TITLE>Bach's home page</TITLE>
5358 <STYLE type="text/css">
5459 H1 { color: blue }
5560 </STYLE>
61+ </HEAD>
5662 <BODY>
5763 <H1>Bach's home page</H1>
5864 <P>Johann Sebastian Bach was a prolific composer.
@@ -67,9 +73,12 @@ documents. To link to an external style sheet, you can use the LINK
6773element:</p>
6874
6975<PRE class="html-example">
76+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
7077<HTML>
78+ <HEAD>
7179 <TITLE>Bach's home page</TITLE>
7280 <LINK rel="stylesheet" href="bach.css" type="text/css">
81+ </HEAD>
7382 <BODY>
7483 <H1>Bach's home page</H1>
7584 <P>Johann Sebastian Bach was a prolific composer.
@@ -92,12 +101,15 @@ structured markup, we continue to use the STYLE element in this
92101tutorial. Let's add more colors:
93102
94103<PRE class="html-example">
104+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
95105<HTML>
106+ <HEAD>
96107 <TITLE>Bach's home page</TITLE>
97108 <STYLE type="text/css">
98109 BODY { color: red }
99110 H1 { color: blue }
100111 </STYLE>
112+ </HEAD>
101113 <BODY>
102114 <H1>Bach's home page</H1>
103115 <P>Johann Sebastian Bach was a prolific composer.
@@ -117,8 +129,10 @@ describes how to resolve them.
117129<P>CSS2 has more than 100 different properties and 'color' is one of
118130them. Let's look at some of the others:
119131
120- <PRE>
132+ <PRE class="example">
133+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
121134<HTML>
135+ <HEAD>
122136 <TITLE>Bach's home page</TITLE>
123137 <STYLE type="text/css">
124138 BODY {
@@ -127,6 +141,7 @@ them. Let's look at some of the others:
127141 margin: 3em;
128142 }
129143 </STYLE>
144+ </HEAD>
130145 <BODY>
131146 <H1>Bach's home page</H1>
132147 <P>Johann Sebastian Bach was a prolific composer.
@@ -454,6 +469,13 @@ have more options for digesting the content. Users can provide their
454469personal style sheets if author-suggested style sheets hinder
455470accessibility. The cascading mechanism combines and selects from
456471different style sheets.</P>
472+
473+ <div class="note"><P>
474+ <em><strong>Note.</strong> For more information
475+ about designing accessible documents using CSS and HTML, please
476+ consult [[-WAIGUIDE]].</em>
477+ </div>
478+
457479</LI>
458480
459481</UL>
0 commit comments