I have some HTML that looks like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html;
charset=utf-8" />
<title>Spanish Intensive - Feedback</title>
<!-- stylesheet reference goes here -->
<link rel="stylesheet" type="text/css"
href="styles/spanishIntensives.css" />
<!--[if lt IE 7]>
<style>
/* for IE/6 - to prevent double-spacing of leftnav list items*/
#leftnav ul li a {
height : 0;
}
#leftnav {
margin-top: 2em;
}
</style>
<![endif]-->
</head>
<body>
<div id="header">
<img id="logo" src="images/Logo-SI-BIG4b.jpg" alt="Spanish
Intensives logo" title="Spanish Intensives" />
</div>
<div id="main">
<h1>
Feedback
</h1>
<h4>
Here are some comments from students who took our
courses in previous years:
</h4>
<img class="imgright" src="images/Grupo-2-1.jpg"
alt="Students and teachers" title="Students and teachers from a previous
course by the entrance tot he Residencia" />
<blockquote>
“I found the teaching of exceptionally high
standard.”
</blockquote>
<blockquote>
“All sessions focussed and engaging, and good
fun.”
</blockquote>
... and so on for 36 quotes.
When I try to validate the page, I get the following error for each
blockquote:
============================================================
/Line x, Column y/: character data is not allowed here.
| “*;*some quoted text.R|
You have used character data somewhere it is not permitted to appear.
Mistakes that can cause this error include:
* putting text directly in the body of the document without wrapping
it in a container element (such as a <p>aragraph</p>), or
* forgetting to quote an attribute value (where characters such as
"%" and "/" are common, but cannot appear without surrounding
quotes), or
* using XHTML-style self-closing tags (such as <meta ... />) in HTML
4.01 or earlier. To fix, remove the extra slash ('/') character.
For more information about the reasons for this, see Empty
elements in SGML, HTML, XML, and XHTML
<http://www.cs.tut.fi/%7Ejkorpela/html/empty.html>.
=============================================================
I don't understand why that is an error. Isn't a <blockquote> a
container just like a <p> is? Or am I missing something really simple
(again).
Cheers
Peter
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/