wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

iFrames Quiz

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What does an iFrame allow you to do in a webpage?

a)

Change the background color

b)

Embed another HTML page within your page

c)

Create a pop-up window

d)

Add a navigation bar

2.

Which HTML tag is used to create an iFrame?

a)

<frame>

b)

<embed>

c)

<iframe>

d)

<window>

3.

Which attribute of the tag is used to specify the URL of the page to embed?

a)

href

b)

link

c)

src

d)

url

4.

What kind of content can be embedded using iFrames?

a)

Only images

b)

Only text

c)

Tweets, videos, ads, and other web pages

d)

Only local files

5.

What is a common use of iFrames in articles?

a)

To display footnotes

b)

To embed tweets or videos

c)

To add comments

d)

To create tables

6.

Which of the following is a valid iFrame example?

a)

https://example.com

b)

https://example.com

7.

Why might some websites block iFrame embedding?

a)

To save bandwidth

b)

To prevent clickjacking and security risks

c)

To improve SEO

d)

To reduce loading time

8.

Which of the following sites commonly provide embed code for iFrames?

a)

Google Docs

b)

YouTube, Twitter, Spotify

c)

Amazon

d)

Wikipedia

9.

What is clickjacking?

a)

A way to speed up clicks on a page

b)

A method to embed secure content

c)

A malicious technique using iFrames to trick users

d)

A tool for tracking user clicks

10.

What does the src attribute in an iFrame do?

a)

Sets the size of the frame

b)

Specifies the source URL to load inside the frame

c)

Defines the style of the frame

d)

Adds a caption to the frame