[sclug] XHTML Question
Lars Haggqvist
larshaggqvist at onetel.net.uk
Sat Oct 25 09:05:44 UTC 2003
Oops! Strictly it's not 'in the spec' just a recommendation
see
HTML Compatibility Guidelines section:
C.2. Empty Elements at:
http://www.w3.org/TR/xhtml1/#guidelines
Lars
---- Original message ----
>Date: Fri, 20 Jun 2003 07:03:02 +0100
>From: Lars Haggqvist <larshaggqvist at onetel.net.uk>
>Subject: Re: [sclug] XHTML Question
>To: suttont at onetel.net.uk
>
>Have you tried <select /> ? According to the spec, empty
>elements sould be closed with a ' /'
>
>HTH
>
>Lars
>
>
>---- Original message ----
>>Date: Fri, 20 Jun 2003 01:01:17 +0100
>>From: Tim Sutton <suttont at onetel.net.uk>
>>Subject: [sclug] XHTML Question
>>To: sclug at sclug.org.uk
>>
>>-----BEGIN PGP SIGNED MESSAGE-----
>>Hash: SHA1
>>
>>Hi All
>>
>>I am trying to make an xhtml compliant page so that I can
>put the nice little
>>w3c xhtml 'tick' logo at the bottom. Everything in the
page
>is compliant,
>>except in som cases I create an empty select box that get
>populated by
>>javascript after the page has been loaded through user
>interaction. So
>>according to the w3c validator both:
>>
>><select>
>></select>
>>
>>and
>>
>><select/>
>>
>>Are not valid. Does anyone have a clever way of including
>an empty select box
>>and still maintaining a valid xhtml page?
>>
>>Thanks
>>
>>Tim
>>- --
>>Get my public keys from:
>>
>>http://tim.suttonfamily.co.uk/modules.php?
>name=Content&pa=showpage&pid=2
>>-----BEGIN PGP SIGNATURE-----
>>Version: GnuPG v1.2.2 (GNU/Linux)
>>
>>iD8DBQE+8k7VWvXTJUo0BDoRAmxTAKCV+DI4w9zFhgWnJeCW1g0zkQZycAC
e
>PdTK
>>sSt/TZUjYHsCUG7uPNHrj54=
>>=ptst
>>-----END PGP SIGNATURE-----
>>
>>_______________________________________________
>>sclug mailing list
>>sclug at sclug.org.uk
>>http://www.sclug.org.uk/mailman/listinfo/sclug
More information about the Sclug
mailing list