Web pages can be included in a page as embedded objects or in iFrames.
Some pages may not render correctly depending on how they're coded. Embedding more than one web page in a wiki page will cause the final embedded web page to steal the focus when the page is loaded, so it's best to have only one per page.
This method makes the embedded web page become a seamless part of the page.
- Embed a local HTML file as an object:
Use this code in a page, replacing PATH with the full path to HTML file you wish to include, and changing the width and height to suit your taste:
<object data="PATH" style="width:100%; height:630px;">File not found.</object>
To embed a local HTML file in a page.
- Embed a remote URL as an object:
Use this code in a page, replacing URL with the URL of the page you wish to include, and changing the width and height to suit your taste:
<object data="URL" style="width:100%; height:630px;">URL not found.</object><
To embed an external URL in a page.
This method creates a frame around the embedded web page. The code shown below is for a plain frame, but you can style the iFrame further by adding a border, changing the border style to dotted, dashed, solid, double, groove, ridge, inset, or outset, changing the border width to whatever thickness you like, and the border color to whatever color you like.
- Embed a local HTML file in an iFrame:
Use this code in a page, replacing PATH with the full path to HTML file you wish to include, and changing the width and height to suit your taste:
<iframe height="400" width="100%" height:630px; src="PATH"></iframe>
To include a local HTML file in a wiki page.
- Embed a remote URL in an iFrame:
Use this code in a page, replacing URL with the URL of the page you wish to include, and changing the width and height to suit your taste:
<iframe height="400" width="100%" height:630px; src="URL"></iframe>
To include a web page in a wiki page.