wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

html basics

Total questions: 11

Worksheet time: 6mins

Name
Class
Date
1.

Which image is correctly coded?

a)

<img scr="images/food1.jpg" alt="image of a chocolate cake">

b)

<img src= "IMAGES/FOOD1.jpg" alt="image of a chocolate cake">

c)

<img src="images/food1.jpg" alt="image of a chocolate cake">

d)

<img src= "images/Food1.jpg" alt="image of a chocolate cake">

2.

What is missing? (Choose 1 or more)

<p>Cake is a form of sweet food made from flour, sugar, and other ingredients that are usually baked. In their oldest forms, cake were modifications of bread, but cakes now cover a wide range of preparations that can be simple or elaborate.

a)

<p>

b)

</p>

c)

</P>

d)

An ending paragraph tag

3.

What file do curly brackets go into? { }

a)

index.html

b)

morefood.html

c)

images folder

d)

style.css

4.

What do <b> </b> tags do?

a)

Make text look big

b)

Make text look bold

c)

Make the heading look big

d)

Make the title look big

5.

Which heading tag is the main heading?

a)

<h6> </h6>

b)

<h2> </h2>

c)

<h1> </h1>

d)

<h3> </h3>

6.

Which heading tag is the smallest sub-heading?

a)

<h6> </h6>

b)

<h2> </h2>

c)

<h1> </h1>

d)

<h3> </h3>

7.

What files sit in your root folder (e.g. Practice Folder)

a)

html files

(e.g. index.html & morefood.html)

b)

css file

(e.g. style.css)

c)

html and css files

d)

index.html

8.

What does HTML stand for?

a)

Hypertext language

b)

Hypertext Marking Language

c)

Hyper Markup Language

d)

Hypertext Markup Language

9.

What are TWO common reasons for errors in code?

a)

Spelling mistake

b)

Capital letters instead of lowercase letters

c)

Missing a > bracket on the line above or below

d)

Missing "quotation marks"

10.

What does the <hr> tag do?

a)

Human Resources

b)

Heading

c)

Horizontal Rule (e.g. straight line)

d)

Horizontal

11.

What does this line of code do?

<link rel="stylesheet" href="style.css">

a)

It creates a hyperlink

b)

It doesn't do anything

c)

It links your style.css file to your html files to format the layout of your web pages