wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Advanced HTML

Total questions: 10

Worksheet time: 12mins

Name
Class
Date
1.

Assume you have two files for your website, and these files exist in the same folder:

home.html

style.css

Which of the following is the proper way to apply the CSS code inside style.css to the home.html file?

a)
b)
c)
d)
2.

Assume you have two files for your website, and these files exist in the same folder:

index.html

about.html

Which of the following is the proper way to link to the about.html page from the index.html page?

a)
b)
c)
d)
3.

What are IFrames?


a)

Buttons that link to other websites

b)

Videos uploaded to your website

c)

The number of views your website has

d)

HTML pages embedded inside of other HTML pages

4.

True or False: It is possible to embed any website inside IFrames.

a)

True

b)

False

5.

What is the function of the div tag?

a)

To define a section of an HTML page

b)

To group a block of elements together to format them with CSS

c)

To efficiently apply the same style to several different elements

d)

All of the above

6.

Which of the following correctly uses div to style multiple elements the same way?

a)
b)
c)
d)
7.

<a href="URL">here</a>

If I want to create a link to Google, what do I need to change in the code above?

a)

change URL to www.google.com

b)

change here to www.google.com

c)

change href to www.google.com

d)

change a to www.google.com

8.

Which tag is the proper way to add a background color to a heading?

a)

<h1 style="background-color: blue;">

b)

<h1 style=background-color: blue>

c)

<h1 style="colorblue;">

d)

<h1 background-color= blue>

9.

outline the steps to add a video from youtube to your webpage

4 lines
10.

Why is it useful to create a separate external CSS file

4 lines