Thomas 'PointedEars' Lahn <Po*********@web.de> writes:
[iframe not in HTML 4.01 Strict]
Interesting. There appears to be an undocumented error in the elements
list or the DTD specification since only deprecated elements should not
be contained in Strict:
Or maybe the list and DTD is correct, and the documentation describing
them is not. I'd say that is more likely. All things about Frames,
including IFRAME and the TARGET attribute, are not in HTML 4.01
Strict. It appears quite deliberate.
But yes, the documentation is not precise on this.
The most relevant documentation is the HTML version information
<URL:http://www.w3.org/TR/html4/struct/global.html#h-7.2>. It does
indeed say that the strict DTD includes "all elements and attributes
that are not deprecated or do not appear in frameset documents" (which
I am not sure how to parse).
If I do understand it correctly, IFRAME is not in the frameset DTD
(it's not inside a "<![ %HTML.Frameset; ["..."]]>" section), so
from the previous definition, it should be in the Strict DTD.
Since IFRAME isn't in the Strict DTD, and weren't in HTML 4 Strict
either, and nobody has considered this an error since HTML 4 became
a recommendation in 1998, I would put my money on the DTD being
correct and the documentation lacking.
/L
--
Lasse Reichstein Nielsen -
lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'