target attribute. "Jacques Distler":http://golem.ph.utexas.edu/~distler/blog/ has come up with a workaround that uses just the DTD(Document Type Declaration).
<!ENTITY % XHTML.version
"-//golem.ph.utexas.edu//DTD XHTML 1.1 plus Target 1.0//EN" >
<!ENTITY % xhtml11.mod
PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" >
%xhtml11.mod;
<!ENTITY % xhtml-target.mod
PUBLIC "-//W3C//ELEMENTS XHTML Target 1.0//EN"
"http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-target-1.mod" >
%xhtml-target.mod;
That will validate with XHTML(eXtensible HyperText Markup Language) Strict, and still use the target attribute.
Will it trigger quirks mode? Probably, as browsers use an internal DB(Database) of DOCTYPEs. But in theory, this works great. Theory is cool.
Extra points if you noticed that I got mentioned again on "Zeldman":http://www.zeldman.com/daily/0503a.shtml#oneinfive. And double extra points if you're one of the five people to click through to this humble little site. And triple-extra points if you're a regular reader.
UPDATE: "Jacques Distler":http://golem.ph.utexas.edu/~distler/blog/ has written in and let me know that it does not trigger QUIRKS mode n Mozilla/Netscape.
Tagged As Browsers, Coding, HTML
Comments are Open (1)
Posted at 12:24 PM
Comments
Jacques Distler
In Mozilla/Netscape, it certainly does NOT trigger Quirks Mode. I can't vouch for other browsers (ahem!).
Posted by: Jacques Distler | May 5, 2003 09:07 PM