<span/> is valid XHTML.

--Klaus


On 11 Dez., 03:59, RobG <rg...@iinet.net.au> wrote:
> On Dec 11, 7:45 am, KillIEbrowser <davide.rogn...@gmail.com> wrote:
>
> > DOMisBetter is different from jQuery( html, [ownerDocument] )
>
> >http://docs.jquery.com/Core/jQuery#htmlownerDocument
>
> That part of the documentation needs to be updated. Where it says:
>
>   "When creating single elements use the closing tag or XHTML
>    format. For example, to create a span use $("<span/>")..."
>
> the following changes should be made:
>
> 1. The use of the definite article "the" should be replaced with "a".
>
> 2. The use of <span/> in the example *is not* valid XHTML.
>
> The section should say something like:
>
>   "When creating empty elements, use a closing tag or XML
>    format. For example, to create a span use $("<span/>")..."
>
> --
> Rob

Reply via email to