wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

fundamentals of HTML

Total questions: 25

Worksheet time: 16mins

Name
Class
Date
1.

Which tag is the root element of an HTML document?

a)
  • <head>

b)
  • <meta>

c)
  • <html>

d)
  • <body>

2.

Which element is used to define metadata in HTML?

a)

<body>

b)

<meta>

c)

<p>

d)

<q>

3.

Which HTML element is used to create a hyperlink?

a)

<url>

b)

<href>

c)

<a>

d)

<link>

4.

What is the purpose of the <title> tag in an HTML document?

a)

To create a header

b)

To define the main content

c)

To specify the document's title

d)

To include scripts

5.

What is HTML?

a)

HTML describes the structure of a webpage

b)

HTML is the standard markup language mainly used to create web pages

c)

HTML consists of a set of elements that helps the browser how to view the content

d)

All of the mentioned

6.

Who is the father of HTML?

a)

Rasmus Lerdorf

b)

Tim Berners-Lee

c)

Brendan Eich

d)

Sergey Brin

7.

HTML stands for...

a)

Hyper Time Multiple Language

b)

Hyper Text Mark-up Language

c)

Hippo T-Rex Mascot Lemur

d)

Hipper Text Make Language

8.

Which is the proper way to write an h1 tag

a)

<h1>Hello</h1>

b)

<h1>"Hello

c)

{h1}Hello{/h1}

d)

<h1>Hello<h1>

9.

<p> tag is for...

a)

Page of Text

b)

Picture

c)

Paragraph of text

d)

Pineapples

10.

You need a closing tag for an image without text

a)

True

b)

False

11.

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

12.

HTML coding involves using ____________ to create webpages.

a)

Tabs

b)

Tags

c)

Labels

d)

Quotes

13.
HTML tags are always surrounded by
a)
( )
b)
{ }
c)
< >   
d)
"  "
14.

Which of the listed heading tags creates the largest heading?

a)

h1

b)

h2

c)

h3

d)

h6

15.
Google, Bing and Yahoo are all examples of what?
a)
Web browsers
b)
Search engines
c)
Web engines
d)
Text editors
16.
Google Chrome, Mozilla Firefox and Microsoft Edge are all examples of what?
a)
Search engines
b)
Websites
c)
Web Browsers
d)
Text editors
17.

Which of the following is the correct HTML syntax for inserting an image

a)

<img>apple.jpg</img>

b)

<img src="apple.jpg">

c)

<image src="apple.jpg">

d)

<img ="apple.jpg">

18.

What is missing from this HTML skeleton?


<!DOCTYPE html>

<html>

<body>

</body>

</html>

a)

<head></head>

b)

<div></div>

c)

<img></img>

d)

<head>

19.

TRUE OR FALSE: All tags require a closing tag.

a)

True

b)

False

20.
What is the difference between HTML and CSS?
a)
CSS is one type of HTML
b)
HTML gives a webpage structure. CSS provides styling.
c)
CSS structures a webpage. HTML strictly provides styling.
d)
There is no difference.
21.

The content of the web(such as pictures, text, links) will show up here:

a)

<HTML>

b)

<BODY>

c)

<IMG>

d)

<HEAD>

22.

Which of these has correct syntax?

a)

<DOCTYPE html!>

b)

<!DOCTYPE html>

c)

!<DOCTYPE html>

d)

<DOCTYPE! html>

23.

Which character is used to indicate an end tag?

a)

>

b)

<

c)

/

d)

\

24.

What type of tag is this: <!-- -->

a)

comments

b)

questions

c)

paragraph

d)

image

25.

What is the correct HTML element for inserting a line break?

a)

<break>

b)

<lb>

c)

<br>