how to include in-line html file?

  • updated
  • Answered

I'd like to put my copyright footer in a in-line include file so that I can include in every web page I have. Here is the include example.

And the content of copyright.html is

Copyright © 2006 - 2012 Rythmik Audio. All rights reserved. Privacy Policy Site: 3 Corners Webworks

I guess for security reason, inmotion has turn off that capability. What is the permissible way to achieve the same thing?

sarika khan

Use the element with the type attribute set to "text/html" to include an inline HTML file in your page. Your HTML content should be enclosed in tags. As an illustration:


IMH Support Agent 5
Hello, Thank you for contacting us about including in-line HTML content in your site. I will research your request further to see if we can do HTML includes, but in the meantime you can certainly use "include" with PHP to achieve the same effect. You can use PHP files on your server, but if you like to use HTML files you can use .htaccess to execute PHP code from within HTML files. Best, Christopher M.