Discussion: js write a <hr>
Afficher un message
Vieux 11/09/2007, 13h19   #9
Dylan Parry
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: js write a <hr>

Blinky the Shark wrote:

>> When using document.write() combined with XHTML, you need to escape the
>> closing slashes in end tags otherwise it won't validate. It should still
>> /work/ okay without it though.

>
> Nope. As before: works but won't validate.


Now that is odd. I've had this error pop up time and again when I've
forgotten to escape closing slashes, but adding in the escape has always
fixed the problem. :s

> Here, with your idea: http://blinkynet.net/humor/index2.html


Out of interest, does the same error appear when you substitute the
<hr/> element with another empty element such as <img/>?

--
Dylan Parry
http://electricfreedom.org | http://webpageworkshop.co.uk

The opinions stated above are not necessarily representative of
those of my cats. All opinions expressed are entirely your own.
  Réponse avec citation
 
Page generated in 0,04699 seconds with 9 queries