HTML Imports

Firefox will not ship HTML Imports in its current form. See this status update for more information. Until there is consensus on the standard or alternative mechanisms are worked out, you can use a polyfill such as Google's webcomponents.js.

HTML Imports is intended to be the packaging mechanism for Web Components, but you can also use HTML Imports by itself.

You import an HTML file by using a <link> tag in an HTML document like this: 
 
<link rel="import" href="myfile.html">

The import link type is new.

Specification

Specification Status Comment
HTML Imports Working Draft  

 

Document Tags and Contributors

Tags: 
 Contributors to this page: paulie4, indolering, chrisdavidmills, markg, teoli
 Last updated by: paulie4,