View Full Version : HTML question - sort of off topic
Can you have an include file in HTML. I have a lovely new downloads page, and want to include it. My pages are mostly written using brochure with HTML inside the special tags however my lovely new page has got too many characters for brochure so it will not work. I will try splitting it over several fragments however if you could include a file it would be a lot easier to maintain stuff.
Regards,
NormanRouxel
10-Jan-2003, 04:16 PM
If your server supports Server-Side Includes then
<!--#include file="myfile.html" -->
will do it. The file need only contain the bits of html you need - not an entire page with <htm>.....</html>. The page containing this code needs a .shtml extension to make the server aware that there's something to parse.
Try it and see.
Norman
Thank you very much Norman, that worked a treat!
Take a look at
http://www.mole-end.biz/acatalog/Downloads.shtml to see the results if you like.
This is going to make it a lot easier for me to do things on the web site now.
Many thanks,
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.