wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Explorer's end of year exam

Total questions: 45

Worksheet time: 23mins

Name
Class
Date
1.

What is this tag <img>?

a)

image

b)

internet markup group

c)

imagination

2.

What is this tag <ol>?

a)

ordered list

b)

organized list

c)

ordered line

3.

What is this tag <th>?

a)

table heading

b)

title

c)

type here

4.

The target attribute tells the computer where to display the link.

a)

true

b)

false

5.

What is this tag <td>?

a)

table data

b)

text data

c)

table dimension

6.

What is this tag <ul>?

a)

unordered list

b)

unordered line

c)

unknown line

7.

What word must be added to the code "background-size:" to make the image fill the entire web page background?

a)

cover

b)

fill

c)

replace

8.

Which CSS embedded rule allows the text to scroll but the image to stay still?

a)

background-attachment

b)

background-position

c)

background-repeat

9.

All CSS embedded code must be placed inside which tags?

a)

style

b)

body

c)

color

10.

Which CSS embedded rule is used to assign the location of the image on a web page?

a)

background-position

b)

background-attachment

c)

background-repeat

11.

Which of the following phrases must be added to CSS embedded code to stop the background image from scrolling with the text?

a)

fixed

b)

no-scroll

c)

cover

12.

What is this tag <hr/>?

a)

horizontal rule

b)

header

c)

head runner

13.

What is this tag <p>?

a)

paragraph

b)

picture

c)

perpendicular

14.

The following HTML code should only exist within which of the following tags?

<title>Coding with HTML</title>

a)

<head>

b)

<body>

c)

<h1>

15.

Which of the following tags would contain the HTML code for a web page's visible content?

a)

<body>

b)

<head>

c)

<html>

16.

What is this tag <tr>?

a)

table row

b)

table

c)

text runner

17.

What is this tag <li>?

a)

list item

b)

line indent

c)

left indent

18.

What is this tag <br/>?

a)

single space

b)

double space

c)

back row

19.

What does the 'doctype HTML' tag indicate in an HTML document?

a)

It sets the background color of the web page

b)

It specifies the character set of the document

c)

It indicates the start of the HTML document

d)

It defines the title of the web page

20.

What is the purpose of the 'head' tag in HTML?

a)

It contains the main content of the web page

b)

It references external resources for the web page

c)

It creates a link to another web page

d)

It defines the styling and layout of the web page

21.

Which tag is used for writing full sentences and paragraphs in HTML?

a)

H2

b)

P

c)

A

d)

H1

22.

What does the 'H1' tag represent in HTML?

a)

A medium-sized heading

b)

A subheading

c)

The largest heading

d)

The smallest heading

23.

What is the purpose of the 'utf-8' character set in HTML?

a)

It sets the text alignment of the web page

b)

It defines the font style for the web page

c)

It specifies the character encoding for the web page

d)

It specifies the language of the web page

24.

What is the default behavior of the 'title' tag in HTML?

a)

It displays the title of the web page in the browser tab

b)

It creates a pop-up message when the mouse hovers over an element

c)

It sets the title of the web page as the header

d)

It defines the title of a section within the web page

25.

What is the purpose of the 'body' tag in HTML?

a)

It contains the main content of the web page

b)

It creates a link to another web page

c)

It defines the styling and layout of the web page

d)

It references external resources for the web page

26.

What is the significance of the 'H2' tag in HTML?

a)

It indicates a subheading within a section

b)

It represents the smallest heading

c)

It sets the font style for the web page

d)

It defines the largest heading

27.

How can heading tags be reused in HTML?

a)

They can be used for creating hyperlinks

b)

They are not reusable in HTML

c)

They can be used multiple times in a document

d)

They can only be used once in a document

28.

What does the 'img' tag do in HTML?

a)

It creates a hyperlink

b)

It embeds an image

c)

It defines a section

d)

It creates a table

29.

What CSS property is used to center an image?

a)

align

b)

display

c)

margin

d)

position

30.

What CSS property is used to center an image?

a)

align

b)

display

c)

margin

d)

position

31.

Which CSS property is used to add a line around an image?

a)

edge

b)

outline

c)

frame

d)

border

32.

What does the 'border-radius' property do in CSS?

a)

Changes the color of the border

b)

Adds a shadow to the border

c)

Rounds the corners of the border

d)

Increases the thickness of the border

33.

What value is used to center an image horizontally in CSS?

a)

0 auto

b)

auto 0

c)

center

d)

50%

34.

Which CSS property is used to specify the type of border?

a)

type

b)

format

c)

pattern

d)

style

35.

What is the purpose of the 'display' property in CSS?

a)

To change the font size

b)

To add padding to an element

c)

To change the text color

d)

To control the layout of an element

36.

Which tag is used for the content of the web page in the CSS file?

a)

DIV

b)

SPAN

c)

HTML

d)

BODY

37.

What attribute is used to change the color of the font in CSS?

a)

Color

b)

Font

c)

Text-Color

d)

Font-Color

38.

How is the font size specified in CSS?

a)

Text-Size

b)

Font

c)

Font-Size

d)

Size

39.

What property is used to align text in the center in CSS?

a)

Align-Text

b)

Text-Center

c)

Text-Align

d)

Center-Text

40.

Which property is used to change the background color of the web page in CSS?

a)

Background-Color

b)

Page-Color

c)

Background

d)

Color-Background

41.

What is the purpose of adding padding to a tag in CSS?

a)

Increase font size

b)

Add space inside the box

c)

Change font color

d)

Align text

42.

What is the purpose of the 'border' property in CSS?

a)

To create a boundary around an element

b)

To change the font color

c)

To increase the font size

d)

To align the text

43.

What is the correct tag for adding an image in HTML?

a)

URL

b)

SRC

c)

HTML

d)

IMG

44.

Why is it better to save the image file with a short and descriptive name?

a)

To increase website speed

b)

To save storage space

c)

To confuse the user

d)

To easily identify the image

45.

What is the potential issue with referencing an image through a URL in HTML?

a)

It makes the image unstable

b)

It increases website security

c)

It reduces image loading time

d)

It improves website performance