4 ms·
That's correct. Although the tag is deprecated, I've tried it with all modern browsers (IE and mobile Safari included), and it seems to work just fine. I'd thi
by arturadib 14y ago
That's correct. Although the tag is deprecated, I've tried it with all modern browsers (IE and mobile Safari included), and it seems to work just fine.
I'd think it would take a long time to phase this tag out as it was apparently popular among HTML spec writers, which means there's probably a ton of them still in the wild:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=12235 https://www.w3.org/Bugs/Public/show_bug.cgi?id=12235
- RyanMcGreal 14y agoCouldn't you just escape it, i.e. <\/xmp> inside the text?
- taylorfausak 14y agoThere's no provision for escaping things inside an <xmp> tag. From the HTML 2.0 spec: "no markup except the end-tag […] is recognized" http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.5.2.1 http://www.w3.org/MarkUp/html-spec/html-spec_5.html#SEC5.5.2...