Html
Jump to navigation
Jump to search
References
Include another file
- Using server-side include
- If it doesn't work, TRY NAMING THE FILE WITH A .shtml EXTENSION!
<!--#include file="insertthisfile.html" -->
<!--#include virtual="insertthisurl_cgi.html" -->
- Using server-side include - PHP
- We can also use PHP, if the server is configured for it:
<?php include("filename.html"); ?>
<?php include("http://www.othersite.com/filename.html"); ?>