How to Create a Nested Webpage

by Brandy Alexander

Nested Web pages present content from one website in the main body of another; in effect, it's a page within a page. Use a nested Web page when you need to present information from another page to your site's visitors but you don't want them to leave your website in order to do this. Create a nested page with the HTML code iframe tag in your usual text editor or Web design software.


Launch your text editor and open a Web page document.


Place your cursor in the area where you want the nested Web page to appear and type in the “<iframe>” tag followed by the associated URL address. Further, enter “width” and “height” dimensions to specify the size of the embedded content; for example: <iframe src=”” width=”350” height=”200”>


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=””>Nested Web Page</a></p>


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


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

Video of the Day

Brought to you by Techwalla
Brought to you by Techwalla

Items you will need

About the Author

Brandy Alexander has been writing professionally since 2001. She is a glass artist with a Web design and technical writing background. Alexander runs her own art-glass business and has been a contributor to "Glass Line Magazine" as well as various online publications.

More Articles