[MarkLogic Dev General] textarea closing missing
Williams, Paul
Paul.Williams at flatironssolutions.com
Fri Jul 13 12:16:59 PDT 2007
> For example, this seems to work for me, in IE6:
>
> <html xmlns="http://www.w3.org/1999/xhtml">
> <body>
> <textarea></textarea>
> </body>
> </html>
That's because that is valid HTML. It should work even without the
XHTML namespace declaration. You have the end tag in there instead of
the shorthand "<textarea/>" which is not valid HTML. Try this...
<html xmlns="http://www.w3.org/1999/xhtml">
<body><textarea/></body>
</html>
You'll see that since the textarea is never legally closed, the rest of
the page shows up as contents of the text box when rendered in IE6
regardless of the XHTML namespace.
-- Paul
More information about the General
mailing list