Skip to content

Commit a766fa5

Browse files
committed
[css2] Fixed link to [[XML10]].
Added two images, showing possible renderings of XML example. --HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401082
1 parent f1f4230 commit a766fa5

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

css2/intro.src

Lines changed: 6 additions & 3 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.12 1998-02-24 00:55:47 ijacobs Exp $ -->
3+
<!-- $Id: intro.src,v 2.13 1998-02-24 08:03:27 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Introduction to CSS2</TITLE>
@@ -172,7 +172,7 @@ Please consult the HTML 4.0 specification for more information.
172172
<H2>A brief CSS2 tutorial for XML</H2>
173173

174174
<P>CSS can be used with any structured document format, for example
175-
the eXtensible Markup Language [[-XML]]. In fact, XML depends more on
175+
the eXtensible Markup Language [[-XML10]]. In fact, XML depends more on
176176
style sheets than HTML since authors can make up their own elements
177177
which user agents don't know how to display.
178178

@@ -209,6 +209,8 @@ other elements to be block-level.
209209
documents, but assuming the above CSS fragment is combined with the
210210
XML fragment, a visual user agent could format the result as:
211211

212+
<p><img src="images/bach0.gif" alt="Example rendering">
213+
<!--
212214
<PRE>
213215
Fredrick the Great meets Bach
214216
Johann Nikolaus Forkel
@@ -217,6 +219,7 @@ One evening, just as he was getting his flute ready
217219
and his musicians were assembled, an officer brought
218220
him a list of the strangers who had arrived.
219221
</PRE>
222+
-->
220223

221224
<P>Notice that the word "flute" remains within the paragraph since it
222225
is the content of the inline element INSTRUMENT.
@@ -232,7 +235,7 @@ text, and you may want to display the author's name in italic:</P>
232235
AUTHOR { font-style: italic }
233236
</PRE>
234237

235-
<!-- add image, description -IJ -->
238+
<p><img src="images/bach.gif" alt="Example rendering">
236239

237240
<P>Adding more rules to the style sheet will allow you to further
238241
improve the presentation of the document.

0 commit comments

Comments
 (0)