[wp-hackers] Use of _blank in wp-admin

Doug Stewart zamoose at gmail.com
Sat Mar 22 13:38:14 GMT 2008


On Sat, Mar 22, 2008 at 7:33 AM, Viper007Bond <viper at viper007bond.com> wrote:
> No, it validates just fine, if you use it right, i.e. <br />
>
>  In XHTML, all non-closing tag elements (br, img, link, meta, etc.) need to
>  have a slash before the closing bracket.
>
>  <img src="http://site.com/image.jpg" alt="My Image" />
>

For completeness' sake, such tags are referred to as "singletons" when
used in such a manner in XML or XHTML.  It is just as valid to write.
<img src="http://site.com/image.jpg" alt="My Image"></img>

 ref. http://en.wikipedia.org/wiki/Singleton (second section)

-- 
-Doug

http://literalbarrage.org/blog/


More information about the wp-hackers mailing list