Skip to content

Commit 1b13d14

Browse files
committed
[css2] Small fixes and XML -> XML applications
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401301
1 parent cd81bcd commit 1b13d14

1 file changed

Lines changed: 9 additions & 17 deletions

File tree

css2/intro.src

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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
139139
semicolons, though the last declaration may also be followed by a
140140
semicolon.
141141

142-
<P>The first declaration on the 'BODY' element sets
142+
<P>The first declaration on the BODY element sets
143143
the font family to "Gill Sans". If that font isn't available, the
144144
user agent (often referred to as a "browser") will use the
145145
'sans-serif' font family which is one of five generic font families
146146
which all users agents know. Child elements of BODY will inherit the
147147
value 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
150150
12 points. The "point" unit is commonly used in print-based typography
151151
to indicate font sizes and other length values. It's an example of an
152152
absolute 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
393385
stylistic information for the marked-up text. It should be easy to
394386
change the style sheet with little or no impact on the markup.</P>
395387
</LI>

0 commit comments

Comments
 (0)