...Ou comment se débarasser des iframes en xhtml strict?
Aleksandar Vacić dans son post explique comment utiliser l'élément <object> pour inclure du html dans une autre page.
Voici le code :
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--[if IE]> | |
<object classid="clsid:25336920-03F9-11CF-8FD0-00AA00686F13" data="some.html"> | |
<![endif]--> | |
<!--[if !IE]> <--> | |
<object type="text/html" data="some.html"> | |
<!--> <![endif]--> | |
<p>backup content</p> | |
</object> |