Using include

The include command merges the contents of another document into the page. This does for html what the <IMG SRC> tag does for images. The path to the file is given in the "file=" parameter.

Example

<!-- #include file="sample.html"-->

 

This merges the contents of sample.html into the page. sub-directory of the page may be included.