@@ -601,9 +601,9 @@ <h3 id=strings><span class=secno>3.3. </span> Quoted Strings: the ‘<a
601601
602602 < div class =example >
603603 < p > Double quotes cannot occur inside double quotes, unless escaped (as
604- ‘ < code class = css > \" </ code > ’ or as ‘ < code
605- class = css > \22 </ code > ’). Analogously for single quotes
606- ("\‘ < code class = css > " or " \27"). </ code >
604+ < code > "\"" </ code > or as < code > "\22" </ code > ). Analogously for single
605+ quotes ( < code > '\'' </ code > or
606+ < code > ' \27' </ code > ).
607607
608608 < pre >
609609<!-- --> content: "this is a 'string'.";
@@ -635,9 +635,8 @@ <h3 id=strings><span class=secno>3.3. </span> Quoted Strings: the ‘<a
635635 depends on the encoding, which means a character may take up to 6 bytes in
636636 utf-8.)
637637
638- < h3 id =urls > < span class =secno > 3.4. </ span > Resource Locators: the
639- ’‘< a href ="#url-value "> < code
640- class =css > <url></ code > </ a > ’‘< code class =css > type</ code > </ h3 >
638+ < h3 id =urls > < span class =secno > 3.4. </ span > Resource Locators: the ‘< a
639+ href ="#url-value "> < code class =css > <url></ code > </ a > ’ type</ h3 >
641640
642641 < p > A < dfn id =url > URL</ dfn > is a pointer to a resource and is a < a
643642 href ="http://www.w3.org/TR/CSS21/syndata.html#uri "> specially-parsed</ a > < a
@@ -661,22 +660,23 @@ <h3 id=urls><span class=secno>3.4. </span> Resource Locators: the
661660 context), a URL can be represented as a < a
662661 href ="#string-value "> < code > <string></ code > </ a > rather than by < a
663662 href ="#url-value "> < code > <URL></ code > </ a > . An example of this is the
664- < a
665- href =" http://www.w3.org/TR/CSS21/cascade.html#at- import" > ’‘ < code
666- class = css > @import </ code > ’‘ < code class = css > rule </ code > </ a > .
667-
668- < p > Parentheses, whitespace characters, single quotes (’) and double
669- quotes (") appearing in a URL must be escaped with a backslash so that the
670- resulting value is a valid < a href ="#url "> < code > URL</ code > </ a > token, e.g.
671- ‘ < code class = css > url(open\(parens)</ code > ’, & lsquo;< code
672- class = css > url(close\)parens)</ code > ’ . Depending on the type of URL,
673- it might also be possible to write these characters as URI-escapes (where
674- < code > (</ code > = < code > %28</ code > , < code > )</ code > = < code > %29 </ code > ,
675- etc.) as described in < a href ="#URI "
663+ < a href =" http://www.w3.org/TR/CSS21/cascade.html#at-import " > ‘ < code
664+ class = css > @ import</ code > ’ rule </ a > .
665+
666+ < p > Parentheses, whitespace characters, single quotes (‘ < code
667+ class = css > ) and double quotes (") appearing in a URL must be escaped with
668+ a backslash so that the resulting value is a valid < a
669+ href ="#url "> < code > URL</ code > </ a > token, e.g.
670+ </ code > ’ url(open\(parens)& lsquo;< code class = css > ,
671+ </ code > ’ url(close\)parens)‘ < code class = css > . Depending on the
672+ type of URL, it might also be possible to write these characters as
673+ URI-escapes (where < code > (</ code > = < code > %28</ code > , < code > )</ code > =
674+ < code > %29 </ code > , etc.) as described in < a href ="#URI "
676675 rel =biblioentry > [URI]<!--{{URI}}--> </ a > . Alternatively a URL containing
677676 such characters may be represented as a quoted < a
678- href ="#strings "> string</ a > within the ‘< a href ="#url "> < code
679- class =css > url()</ code > </ a > ’ notation.
677+ href ="#strings "> string</ a > within the </ code > ’‘< a
678+ href ="#url "> < code class =css > url()</ code > </ a > ’‘< code class =css >
679+ notation. </ code >
680680
681681 < p > In order to create modular style sheets that are not dependent on the
682682 absolute location of a resource, authors should use relative URIs.
@@ -695,9 +695,9 @@ <h3 id=urls><span class=secno>3.4. </span> Resource Locators: the
695695
696696 < pre > http://www.example.org/style/basic.css</ pre >
697697
698- < p > The background of the source document' s < code > <body></ code > will
699- be tiled with whatever image is described by the resource designated by
700- the URL:
698+ < p > The background of the source document’ s < code > <body></ code >
699+ will be tiled with whatever image is described by the resource designated
700+ by the URL:
701701
702702 < pre > http://www.example.org/style/tile.png</ pre >
703703
0 commit comments