[Petal] Problems with HTML Parser

Chris Croome chris@webarchitects.co.uk
Thu, 8 Aug 2002 12:52:08 +0100


Hi

On Thu 08-Aug-2002 at 12:22:37 +0100, Paul Arzul wrote:
> 
> here's a list[1] of empty elements (which need careful handling):
> 
> ---8<---
> area
> base
> basefont
> br
> col
> frame
> hr
> img
> input
> isindex
> link
> meta
> param
> --->8---
> 
> [1] http://www.w3.org/TR/html401/index/elements.html

The above elements should _never_ have closing tags (for HTML backwards
compatibility) ie <br />.

In addition _all_ other tags sould _never_ be self closing, ie no tags
like this: <p />.

For more information about making XHTML backwards compatible with HTML
see:

  http://www.w3.org/TR/xhtml1/#guidelines

Chris  

-- 
Chris Croome                               <chris@webarchitects.co.uk>
web design                             http://www.webarchitects.co.uk/ 
web content management                               http://mkdoc.com/   
everything else                               http://chris.croome.net/