Published in: HTML
URL: http://phpspot.org/blog/archives/2006/11/iframehtmlhtml.html
phpspot開発日誌より引用
このファイルでは、外部ファイルである、/exec/some.html というファイルを読み込んでいます。 IEの場合、タグにスタイルでサイズを指定しないと見えないので注意が必要です。
XHTMLではiframeタグは禁止されているのでValidにしたい場合はこっちを使ったほうがよいらしいです。
<html> <head> </head> <body> <!--[if IE]> <object classid="clsid:25336920-03F9-11CF-8FD0-00AA00686F13" data="/exec/some.html" style="width:100;height:100px"> <p>non object</p> </object> <![endif]--> <!--[if !Firefox]> <--> <object type="text/html" data="/exec/some.html"> </object> <!--> <![endif]--> </body> </html>
You need to login to post a comment.
