
Using the iframe tag
This piece of code shows you how you can use the <iframe> tag to embed another website in your page. You need to use several attributes with the tag to make sure your embedded content displays properly. The source attribute tells your browser where to find the information it needs to embed and you set the value to a URL. You can then use the width, height, frameborder and style attributes to change the shape, size and appearance of your embedded content.
See the Pen M4 CS Using the iframe tag by Walker Books UK (@walkerbooks) on CodePen.