--- title: HTML Импорты slug: conflicting/Web/Web_Components translation_of: Web/Web_Components/HTML_Imports original_slug: Web/Web_Components/HTML_Imports ---
Firefox will not ship HTML Imports in its current form. See this status update for more information. Until there is a consensus on the standard or alternative mechanisms are worked out, you can use a polyfill such as Google's webcomponents.js
.
HTML Импорты is intended to be the packaging mechanism for web components, but you can also use HTML Imports by itself.
<link>
tag in an HTML document like this: <link rel="import" href="myfile.html">
The import
link type is new.
Specification | Status | Comment |
---|---|---|
{{SpecName('HTML Imports', "", "")}} | {{Spec2('HTML Imports')}} |