wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML

Total questions: 25

Worksheet time: 12mins

Name
Class
Date
1.

Scarlett, Lily, and Aiden are building a website for their school project. Which language should they use to create the web pages?

a)

HMLT

b)

English

c)

HTML

d)

HTTP

2.

Luna, Abigail, and Charlotte are building a website together. What is the primary purpose of HTML that they should focus on?

a)

To store and retrieve data on the web.

b)

To structure and present content on the web.

c)

To design user interfaces.

d)

To create interactive web applications.

3.

Nora, Abigail, and Aria are building a website together. How do they use HTML in their web development process?

a)

HTML is used to style the layout of a web page.

b)

HTML is used to structure the content of a web page.

c)

HTML is used to create animations on a web page.

d)

HTML is used to handle user interactions on a web page.

4.

True or False

The image displays HTML elements and tags for a simple web page.

a)

True

b)

False

5.

Liam, Mia, and Elijah are building a website together. How do they structure content on their web page using HTML?

a)

Attributes and values

b)

CSS stylesheets

c)

Tags and elements

d)

JavaScript functions

6.

Nora, Avery, and Ethan are building a website together. They need to mark up the text of their HTML document to tell the browser how the text should be displayed. What should they use?

a)

Tags

b)

CSS

c)

brackets

d)

links

7.

Avery, Henry, and Abigail are having a debate!

Avery says: 'HTML is just normal text + markup tags.'

Is Avery's statement True or False?

a)

TRUE

b)

FALSE

8.

Anika and Sophia are learning HTML together. They came across the tag <h1>Hello!</h1>. What content is affected by this tag?

a)

Hello

b)

Hello!

c)

<h1>Hello</h1>

d)

none

9.

Abigail, William, and Arjun are building a website together. They want to set the title of their webpage, which will be displayed at the top of the web browser. Which tag should they use to define the title?

a)

<head>

b)

<subject>

c)

<h1>

d)

<title>

10.

During a web development class, Jackson, Abigail, and Scarlett are discussing where the actual content of a web page goes (text, images). They all agree that most of the HTML tags will go inside the _________ tag.

a)

<title>

b)

<body>

c)

<html>

d)

<head>

11.

Aria, David, and Michael are building a website together. They need to add style to their web page using a language called _____.

a)

CSC

b)

HTML

c)

CSS

d)

<Style>

12.

Hey Zoe, Avery and Arjun! Let's play a game of TRUE or FALSE.

Do you think every home page on the World Wide Web is saved as index.html?

a)

TRUE

b)

FALSE

13.

Henry, James, and Benjamin are building a website for their school project. They want to create a bulleted list. Which HTML tag should they use to start the list?

a)

<ul>

b)

<li>

c)

<ol>

d)

<list>

14.

Hey there, web wizards! Let's see if you can help Benjamin, Noah, and Michael with a little HTML conundrum.

They are debating whether all HTML documents must start with a document type declaration: <!DOCTYPE html>. Who do you think is right?

a)

Benjamin, who says 'True'

b)

Noah and Michael, who say 'False'

15.

_____ defines the most important heading, while _____ defines the least important heading.

a)

<h1>, <h5>

b)

<h6>, <h1>

c)

<h1>, <h5>

d)

<h1>, <h6>

16.

Olivia, Nora, and Emma are building a website for their school project. They need to define a paragraph. Which HTML tag should they use?

a)

<p>

b)

<b>

c)

<paragraph>

d)

<//p>

17.

_____ is the color value that represents RED, GREEN, and BLUE light sources.

a)

HSL

b)

RGB

c)

Color Channel

d)

Color Name

18.

William, Henry, and Priya are having a debate. They are trying to figure out what color the hexadecimal code #0000ff represents. Can you help them settle this?

a)

Red

b)

Blue

c)

Yellow

d)

Green

19.

Ethan, Elijah, and James are building a website for their school project. They want to add a cool image to their webpage. What should they do to ensure the image loads properly?

a)

Add an img tag in their HTML code

b)

Name the image the same as stated in the HTML img tag

c)

Save the image in the same folder where their webpage is saved

d)

All of the above steps must be followed for the image to load properly

20.

Liam, Aria, and Scarlett are having a friendly competition to spot HTML Syntax Errors. Can you help them identify which of the following are examples of such errors?

a)

missing quotes

b)

missing parentheses

c)

missing semi colon

d)

all three are examples of syntax errors

21.

James, Avery, and Emma are having a debate. James thinks that spelling doesn't matter when typing HTML code. Avery and Emma aren't sure. Is James correct?

a)

True

b)

False

22.

Emma, Ethan, and Evelyn are having a friendly competition to see who can create the best HTML website. They need a basic text editor to edit their HTML files on Windows 10. Which program should they use?

a)

Google Docs

b)

.html

c)

Notepad

d)

HTML Editor

23.

Maya, Abigail, and Michael are learning HTML together. They came across the following line of code: <h1>Hello!</h1>. Can you help them identify the open tag?

a)

</h1>

b)

<h1>

c)

<1h>

d)

<h1>Hello

24.

Evelyn, Grace, and Scarlett are building a website together. What would they use CSS for?

a)

To style and format the content of their web page.

b)

To optimize the performance of their website.

c)

To store and retrieve data from a database.

d)

To create interactive web pages.

25.

Avery, Elijah, and Nora are building a website together. What would they use the <img> tag for in their HTML code?

a)

To create a hyperlink in their HTML document.

b)

To define a paragraph in their HTML document.

c)

To style text in their HTML document.

d)

To insert an image into their HTML document.