[WEB4LIB] Page validation question

Chris Gray cpgray at library.uwaterloo.ca
Mon Apr 8 13:34:42 EDT 2002


The actual cause is an inline element directly within the body
element.  In strict XHTML the content model for body only allows block
elements.  Put the <br /> within one of the <div> tags.

Chris Gray
Library Systems
University of Waterloo


On Mon, 8 Apr 2002, Robert Sullivan wrote:

> I converting another site over to XHTML 1.0 Strict, and have a couple of small,
> but vexatious validation errors from both w3.org and htmlhelp.com.
> 
> <http://www.schenectadyhistory.org/education/neisuler/01.html>
> 
> complains about my break tag and suggests I may have an inline element
> containing a block-level element.  As far as I can tell, I don't, as the tag is
> in between two divs.
> 
> The validator also doesn't like the blockquote near the end of the page and
> suggests wrapping the text in a more descriptive container.
> 
> Any suggestions would be appreciated.
> 
> Bob Sullivan                               scp_sulli at sals.edu
> Schenectady County Public Library (NY)     http://www.scpl.org
> 




More information about the Web4lib mailing list