Use of the element iframe in xhtml 1.1
Please, I am not a programmer, all I want to do is use iframes on my wordpress blog which is validating as xhtml 1.1.
If I use the iframe I开发者_高级运维 am not validating. I get the error element "iframe" undefined
Amazon.com, widgets and astore links all come as framesets or iframes. Can someone help me please.
The iframe
element is not part of XHTML 1.1. Either Amazon etc. are using a different doctype, or their web pages would not validate. I guess those are basically your choices.
EDIT: actually, there is some talk in the specification about customizing XHTML. I'm not familiar with this sort of thing but perhaps you could look into whether it would allow you to modify the DTD to include the iframe
element.
精彩评论