Evil but sometimes unavoidable
23rd July 2002
I’ve seen a few questions on various forums and mailing lists asking if there is a way of using target=“blank” on links in XHTML Strict without running in to a validation error. I’ve put together an example page showing a method of fixing this using the DOM, which also demonstrates Andrew Clover’s fun-but-ugly Evil Mangled Comments Hack.
More recent articles
- Some thoughts on the Navier–Stokes Millennium Prize Problem - 8th September 2026
- The Pelican comparison grid for Astra is pretty interesting - 4th September 2026
- OpenAI's rogue agents were caught communicating via public wikis - 4th September 2026