I want to link header.html and footer.html to index.html and contactme.php so that they're both have the same header and footer. Is there a way to do this without iframes in HTML5?
Asked
Active
Viewed 43 times
1 Answers
1
You can embed HTML documents with the object
element.
See the example from the HTML5 (CR) spec:
In this example, an HTML page is embedded in another using the
object
element.<figure> <object data="clock.html"></object> <figcaption>My HTML Clock</figcaption> </figure>

unor
- 92,415
- 26
- 211
- 360
-
As the "duplicate" question is not exactly the same, I added an [enhanced answer](http://stackoverflow.com/a/20733673/1591669) there. – unor Dec 22 '13 at 20:24