11<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22<html lang="en">
3- <!-- $Id: intro.src,v 2.22 1998-03-20 22:38:40 bbos Exp $ -->
3+ <!-- $Id: intro.src,v 2.23 1998-03-21 00:34:43 ijacobs Exp $ -->
44<HEAD>
55<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66<TITLE>Introduction to CSS2</TITLE>
@@ -139,14 +139,14 @@ within a block enclosed by curly braces ({...}), and separated by
139139semicolons, though the last declaration may also be followed by a
140140semicolon.
141141
142- <P>The first declaration on the ' BODY' element sets
142+ <P>The first declaration on the BODY element sets
143143the font family to "Gill Sans". If that font isn't available, the
144144user agent (often referred to as a "browser") will use the
145145'sans-serif' font family which is one of five generic font families
146146which all users agents know. Child elements of BODY will inherit the
147147value of the 'font-family' property.
148148
149- <P>The second declaration sets the font size of the ' BODY' element to
149+ <P>The second declaration sets the font size of the BODY element to
15015012 points. The "point" unit is commonly used in print-based typography
151151to indicate font sizes and other length values. It's an example of an
152152absolute unit which does not scale relative to the environment.
@@ -160,22 +160,13 @@ element are three times wider than the font size.
160160
161161<!-- Add image, printing, info, positioning, fonts -->
162162
163- <!-- [commented out to spare newbies from the cruel world out there, -h&kon]
164- <div class="note"><P>
165- <p><em><strong>Note.</strong> To hide style sheets from older HTML user
166- agents, authors may comment out the content of the STYLE element.
167- Please consult the HTML 4.0 specification for more information.
168- </em>
169- </div>
170- -->
171-
172-
173163<H2>A brief CSS2 tutorial for XML</H2>
174164
175165<P>CSS can be used with any structured document format, for example
176- the eXtensible Markup Language [[-XML10]]. In fact, XML depends more on
177- style sheets than HTML, since authors can make up their own elements
178- which user agents don't know how to display.
166+ with applications of the eXtensible Markup Language [[-XML10]]. In
167+ fact, XML depends more on style sheets than HTML, since authors can
168+ make up their own elements that user agents don't know how to
169+ display.
179170
180171<P>Here is a simple XML fragment:
181172
@@ -389,7 +380,8 @@ content will be presented.</P>
389380
390381<LI>
391382<P><STRONG>Complementary to structured documents</STRONG>. Style
392- sheets complement structured documents (e.g., HTML and XML), providing
383+ sheets complement structured documents (e.g., HTML and XML
384+ applications), providing
393385stylistic information for the marked-up text. It should be easy to
394386change the style sheet with little or no impact on the markup.</P>
395387</LI>
0 commit comments