Fandom

HTML & CSS Wiki

Include-source

649pages on
this wiki
Add New Page
Comments0 Share

The include-source property is used in CSS. This property inserts another document into the current document, replacing the current element's content. Any elements or CSS properties applied to or inherited by the current element are applied to the inserted content as well. This property is similar to the HTML <iframe> element in that they both insert another document and its contents into the current document.


Values

Value Description
URL An absolute or relative URL pointing to a document. If rendering of the document is not possible by the browser, it should be ignored and the regular element content be displayed instead. The format used to indicate the URL is url("__");.


Example:

body {
     position: absolute;
     top: 100px; 
     left: 300px;
     width: 200px; 
     height: 200px;
     border: thin solid black;
     include-source: url("http://www.example.com/testpage.html");
     }

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.