11<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22<html lang="en">
3- <!-- $Id: syndata.src,v 1.24 1997-10-31 00:27:19 clilley Exp $ -->
3+ <!-- $Id: syndata.src,v 1.25 1997-10-31 00:36:56 clilley Exp $ -->
44<HEAD>
55<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66<TITLE>CSS2 syntax and basic data types</TITLE>
@@ -41,7 +41,7 @@ href="grammar.html">Appendix B</a>.
4141 <LI> <a name="#escaped-characters">The backslash</a> (\) followed
4242 by at most four hexadecimal digits (0..9A..F) stands for the <a
4343 rel="biblioentry" href="./refs.html#ref-UNICODE">[UNICODE]</a>
44- character with that number.
44+ character with that number.<!-- limits us to UCS-2 -->
4545
4646 <LI> Any character except a hexadecimal digit can be escaped to
4747 remove its special meaning, by putting a backslash (\) in front,
@@ -694,7 +694,7 @@ is a treble sound.
694694<P>The frequency value must be followed immediately by the frequency
695695unit without an intervening space.
696696
697- <H2>CSS embedded in HTML</H2>
697+ <H2><a name="css-in-html"> CSS embedded in HTML</a> </H2>
698698
699699<P> CSS style sheets may be embedded in HTML documents, and to be able
700700to hide style sheets from older UAs, it is convenient put the style
@@ -708,26 +708,27 @@ the value of thecharset parameter is used to convert from the transfer
708708encoding to the document character set, which is Unicode.
709709
710710
711- <H2>CSS as a stand-alone file</H2>
711+ <H2><a name="css-by-itself"> CSS as a stand-alone file</a> </H2>
712712
713713<p>CSS stylesheets may exist in files by themselves, being linked from
714714the HTML or XML document. In that case the CSS files are served with
715715the media type <tt>text/css</tt>. As with all text media types, a
716716charset parameter may be added which is used to convert from the
717717transfer encoding to Unicode.
718718
719- <h2>Character escapes in CSS</h2>
720-
721- <p> The "class" attribute of HTML allows more characters in a class
722- name than the set allowed for selectors above. In CSS2, any of these
723- characters which fall outside the encoding used to transmit the
724- document can be <a href="#escaped-characters">escaped</a> or written
725- as Unicode numbers:"B&W?" can be written as "B\&W\?" or
726- "B\26W\3F". For example, a document transmitted as ISO-8859-1
727- (Latin-1) cannot contain Greek letters directly:
728- "Ϋουρος" (Greek: "kouros") has to be
729- written as "\3BA\3BF\3C5\3C1\3BF\3C2". These escapes are thus the CSS
730- equivalent of numeric character references in HTML or XML documents.
719+ <h2><a name="char-escapes">Character escapes in CSS</a></h2>
720+
721+ <p>CSS may need to use characters which are outside the encoding used
722+ to transmit the document. For example, the "class" attribute of HTML
723+ allows more characters in a class name than the set allowed for
724+ selectors above. In CSS2, such characters can be <a
725+ href="#escaped-characters">escaped</a> or written as Unicode
726+ numbers:"B&W?" can be written as "B\&W\?" or "B\26W\3F". For
727+ example, a document transmitted as ISO-8859-1 (Latin-1) cannot contain
728+ Greek letters directly: "Ϋουρος" (Greek:
729+ "kouros") has to be written as "\3BA\3BF\3C5\3C1\3BF\3C2". These
730+ escapes are thus the CSS equivalent of numeric character references in
731+ HTML or XML documents.
731732
732733
733734
0 commit comments