Hello, Please someone help me - i want to embed one html page to another HTML page just as header like it has on codecanyon when you see demo of anything. kindly help any help would be appreciated.
Hi, people usually use iframe. perhaps you could tell which demo you see in codecanyon that shows page embedding?
in codecanyon when you hit preview new page open for preview with their header that is sticky and does not move like that kind off
You should use the elements iframe or embed. You could even use the element object, however, in HTML5, iframe is the recommended option.
The simplest way to embed is with iframe: <iframe src=" path/ExternalFile.html" height="400" width="500" title=" ExternalFile Example"></iframe> However, I personally prefer using the “include” function: <!--#include virtual="path/ExternalFile.shtml" --> Which brings the whole external file in to be part of the home-file code. Note: If you are using the include option, you will have to add the following to your .htaccess file: AddType text/html .html AddType text/html .shtml AddHandler server-parsed .html AddHandler server-parsed .shtml