How to Create a Nested Webpage

A nested webpage is content presented in the body of another website so that the effect is a different site within a page. This is a useful technique if you need to present other page information to your Internet visitors but do not want them to leave your website in order to access this. Using a couple of lines of HyperText Markup Language (HTML), create a nested webpage on your own site.

Things You'll Need

  • Text editor
Show More

Instructions

    • 1

      Launch your text editor and open a webpage file.

    • 2

      Place your cursor in the area where you want your nested webpage to appear and type in the "<iframe>" tag followed by the associated URL address. Further, enter "width" and "height" dimensions to specify the amount of space that you want this embedded content to take up. For example:

      <iframe src="http://www.nestedpage.com" width="350" height="200">

    • 3

      Type in "<p></p>" paragraph tags, enter an "anchor" link in between these elements and type in the name of the inserted webpage. This task creates an alternate view in the event that a viewer's web browser does not present the "<iframe>" nested content. For instance:

      <p><a href="http://www.nestpage.com">Nested Web Page</a></p>

    • 4

      Enter a closing "</iframe>" tag at the end of the entry to complete the code.

    • 5

      Preview your work in a browser window and save your file when done.

Related Searches:

References

Resources

Comments

You May Also Like

Related Ads

Featured