wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Multi file website HTML-CSS

Total questions: 10

Worksheet time: 8mins

Name
Class
Date
1.

What is the primary benefit of multi-page websites?

a)

Faster loading time

b)

Separating content for users and coding logic for developers

c)

Better animations

d)

Easier to create than single-page websites

2.

What is the default landing page for a website usually called?

a)

main.html

b)

home.html

c)

index.html

d)

landing.html

3.

Which tag is used to link one HTML file to another?

a)

<link>

b)

<a>

c)

 <href>

d)

<nav>

4.

What must you include in the href attribute of an anchor (<a>) tag to link to another HTML file?

a)

The title of the target page

b)

The content of the page

c)

The name of the CSS file

d)

The file path of the target HTML file

5.

What file extension is used for an external CSS file?

a)

.html

b)

.js

c)

.css

d)

.style

6.

Where should the <link> tag for an external CSS file be placed in an HTML document?

a)

Inside the <body> tag

b)

At the end of the document

c)

Inside the <head> tag

d)

 It doesn’t matter

7.

What happens when you apply a CSS file to multiple HTML files?

a)

Only the first HTML file is styled

b)

The CSS rules apply to all linked HTML files

c)

The CSS file is overwritten

d)

It only works for the main page

8.

What is the purpose of separating HTML and CSS into different files?

a)

To organize and reuse code effectively

b)

To make the website colorful

c)

To load the website faster

d)

To create animations

9.

How do you create a new HTML file in your project?

a)

Press the “Run” button

b)

Add a new file with a .css extension

c)

Click the “New +” button and save with a .html extension

d)

Use the <add> tag

10.

What should you include in the href attribute of a <link> tag to link an external CSS file?

a)

The name of the CSS file

b)

The name of the HTML file

c)

The name of the JavaScript file

d)

The URL of the home page