[html5] [HTML5] HTML file inclusion

doekman at gmail.com doekman at gmail.com
Thu Aug 2 13:59:50 PDT 2007

On 7/14/07, Master Leep <dojo at masterleep.com> wrote:
> HTML5 contains a couple of elements which create nested browsing contexts,
> namely iframe and object.
> Do either of these elements provide a safe replacement for Javascript
> client-side file inclusion?
> For example, I'd like to have an element which will be replaced by the HTML
> in another referenced document.  I don't want to have to specify height or
> width from the parent document or risk having scrollbars appear, if those
> scrollbars wouldn't appear if the HTML had been all one document.

You mean something like:
  You can <a href="specs.html" target="_replace" for="container">get
the specs</a>.
<div id="container">
  <!-- specs come here-->

| \
doekman at gmail.com

More information about the Help mailing list