How do I put include files in html - what is the syntax please

frankfriend

Member
Messages
410
Reaction score
2
Points
18
Can someone help please. What is the syntax in an html file to make an server side include file work?

I know the include file needs to be a .shtml file with X10 hosting.

If anyone who has used it could point me at their site so I can see the code in practice i would greatly appreciate it.
 

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,819
Reaction score
163
Points
63
I would use php. It's more readily available everywhere.

If you really want to use html; try google.

Otherwise: use php. The syntax is:

PHP:
<?php

include('somefile.html');

?>
 
Top