> From: Arrix
> 
> In IE, $('<tagname/>') fails with these elements A ABBR 
> ACRONYM B BASEFONT BDO BIG BODY CENTER CITE CODE DEL DFN EM 
> FONT FORM H1 H2 H3 H4 H5 H6 HEAD HTML I INS KBD LABEL MAP Q S 
> SAMP SMALL SPAN STRIKE STRONG SUB SUP TITLE TT U VAR 
> 
> IE is such an odd browser.

There's nothing odd about that. Those are not empty elements, so <tagname />
syntax is invalid for them.

Go to the W3 validator:

http://validator.w3.org/#validate_by_input

And paste this HTML code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
    <title>Test</title>
</head>
<body>
    <b />
</body>
</html>

And see what it says...

-Mike

Reply via email to