How do you create nested web pages in HTML?

Nested web pages basically mean a webpage within a webpage. We can create nested web pages in HTML using the built-in iframe tag. The HTML <iframe> tag defines an inline frame. For example:

<!DOCTYPE html>

<html>

  <body>

    <h2>HTML Iframes example</h2>

    <p>

      specify the size of the iframe using the height and width attributes:

    </p>

    <iframe src=”https://simplilearn.com/” height=”600″ width=”800″></iframe>

  </body>

</html>


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *