Re: [ve][64] document.writeln does not allow write <br /> in document

On 1 Aug 2007, at 18:55, Lauri wrote:

> validating http://koti.mbnet.fi/laurinps/scripts/allaboutyou.htm  
> error [64]: "document type does not allow element x here"
>
> What is the main problem in here? I really have thought what is  
> wrong, but I didn't find out? There is just a <p>-tag and there a  
> writing writeln()-method, that doesn't support writing <br />?!
> Is that a bug or something, that I just cannot understand?

Explained here: http://www.w3.org/TR/xhtml1/#h-4.8
http://www.webdevout.net/articles/beware-of-xhtml is a worthwhile  
read too.

-- 
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/

Received on Thursday, 2 August 2007 11:08:38 UTC