0% found this document useful (0 votes)
2 views

Assignment 4

The document outlines an assignment focused on using the <iframe> tag to embed various types of external content within a webpage. It includes instructions for embedding websites, YouTube videos, Google Maps, and PDF files, along with adjusting iframe attributes. The assignment encourages experimentation with different iframe sizes and borders.

Uploaded by

Vivek Sunori
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Assignment 4

The document outlines an assignment focused on using the <iframe> tag to embed various types of external content within a webpage. It includes instructions for embedding websites, YouTube videos, Google Maps, and PDF files, along with adjusting iframe attributes. The assignment encourages experimentation with different iframe sizes and borders.

Uploaded by

Vivek Sunori
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Assignment 4

Objective: Learn how to use the <iframe> tag to embed external content like websites, videos,
maps, and documents within a webpage.

Instructions:

1. Basic Iframe Embedding

o Create a webpage with a title using the <title> tag.

o Use an <iframe> to embed another website (e.g., Google or Wikipedia).

2. YouTube Video Embedding

o Use an <iframe> to embed a YouTube video of your choice.

o Add a short description using a <p> tag below the video.

3. Google Maps Integration

o Embed a Google Map showing a specific location using <iframe>.

o Write a short paragraph (<p>) explaining the location.

4. Embedding a PDF File

o Use an <iframe> to display a PDF document from an online source.

o Provide an alternative download link (<a> tag) for the PDF.

5. Adjusting Iframe Attributes

6. Experiment with different attributes of <iframe> such as width, height, frameborder, and
allowfullscreen.
7. Create two iframes with different sizes and borders for comparison.

You might also like