Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML for H446

Total questions: 24

Worksheet time: 12mins

Name
Class
Date
1.

What does HTML stand for??

a)

Home Training Metric Length

b)

Homogenous Technical Support

c)

Hype Tense Microsoft Level

d)

Hyper Text Markup Language

2.

Which of the tag is used to create a numbered list?

a)

<L> </L>

b)

<LI> </LI>

c)

<li> </lo>

d)

<ol> </ol>

3.

Web pages start with which of the following tags?

a)

<form>

b)

<HTML>

c)

<body>

d)

<Title>

4.

Choose the correct HTML element for the largest heading:

a)

<head>

b)

<h1>

c)

<heading>

d)

<h6>

5.

HTML controls the _________ of a webpage.

a)

feel

b)

precision

c)

structure

d)

style

6.

<p> is the opening tag for a _____________

a)

page

b)

paragraph

c)

preorder

d)

period

7.

What defines the beginning and ending of the visible part of a webpage?

a)

<head> main part of the document </body>

b)

<body> main part of the document </html>

c)

d) </body> main part of the document <html>

d)

<body> main part of the document </body>

8.

What is the correct syntax for defining a hyperlink in HTML?

a)

<a href=”url”> Link text </a>

b)

<a href=”url”> Link text <a>

c)

<a=”url”> Link text <a>

d)

<ref=”url”> Link text <a>

9.

Which character is used to indicate an end tag?

a)

!

b)

#

c)

/

d)

\

10.

How can you make a list that has no particular order?

a)

<ol> </ol>

b)

<ul> </ul>

c)

<ol> <li>

d)

<li> </ul

11.

Which of the following is a valid CSS rule?

a)

h1 {

color: blue;

}

b)

<h1> {

color: blue;

}

c)

h1 {

color="blue";

}

d)

h1 {

color=blue;

}

12.

src attribute in an image tag means what?

a)

Source of the image

b)

Name of the image

c)

Description of the image

d)

Not used with image tag

13.

Which of the following contains a nested list

a)

<ul>

<li>Apples</li>

<li>Cookies</li>

<li>Milk</li>

</ul>

b)

<ul>

<li>Apples</li>

<li>

Cookies

<ul>

<li>Chocolate Chip</li>

<li>Peanut Butter</li>

</ul>

</li>

<li>Milk</li>

</ul>

14.

When working with color codes RGB stands for...

a)

Green Red Purple

b)

Red Great Blue

c)

Red Green Blue

d)

Blue Green Raspberry

15.

In HTML, a class can be used to...

a)

Define the document's title

b)

Style multiple elements with a shared set of CSS rules

c)

Create a hyperlink to another webpage

d)

Embed multimedia content like videos and audio

16.

Which CSS property can be used to change the font?

a)

font-size

b)

text-align

c)

font-famiy

d)

text-decoration

17.

Which rule set would change the font size to 24?

a)

font-size: 24

b)

size: 24;

c)

font-size: 24;

d)

font size: 24;

18.

What symbol should you use to target an id in css?

a)

.

b)

+

c)

id

d)

#

19.

What symbol should you use to target a class name in css?

a)

#

b)

()

c)

.

d)

class

20.

TRUE OR FALSE: HTML is used to style web pages.

a)

True

b)

False

21.

Where should you put the link tag to connect your CSS and HTML file?

a)

Between the <head> </head> in HTML

b)

Between the <body> </body> in HTML

c)

None of the above.

22.

What is the <script> tag used for?

a)

To add JavaScript

b)

To add CSS

c)

To add quotes and citations

d)

To add HTML

23.

JavaScript can be used to...

a)

Check whether form fields have been completed.

b)

Access a mySQL database

c)

Define the structure of a web page

d)

Set the default style of a web page.

24.

What language is the following code?

alert('Hello world!');

(a)