Equivalent of include() in HTML

Trufa picture Trufa · Oct 13, 2010 · Viewed 31.1k times · Source

I was wondering wether there is a way to include some html content inside another html using only html?

A replacement to PHP's

<?php include("file.php"); ?>

Is this possible?

EDIT:

This has brought up some confusion, what I needed was "almost an html tag" that had the functionality of including a html document in another.

Answer

Victor picture Victor · Nov 10, 2013

Have you tried:

<object type="text/html" data="file.html"></object>