wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Intro to HTML Lessons 1-5 CodeHS

Total questions: 30

Worksheet time: 20mins

Name
Class
Date
1.

Coding Language used to build webpages

a)

HMTL

b)

HTML

c)

HLTM

d)

JavaScript

2.

Lets you annotate text to define how it should be displayed

a)

Markup Language

b)

HTML Tags

c)

Run

d)

Browser

3.

Not actually displayed

a)

HTML

b)

Browser

c)

HTML Tags

d)

HyperText

4.

To see the resulting webpage on CodeHS, you should click _______

a)

Browser

b)

HTML Tags

c)

HyperText

d)

Run

5.

Text displayed on a computer that has links to other documents

a)

MarkUp Language

b)

HyperText

c)

HTML Tags

d)

Web pages

6.

Tells the computer what version of HTML is being used

a)

Head

b)

Title

c)

Doctype

d)

Tag

7.

<!DOCTYPE html> says we are using what version of HTML

a)

5

b)

6

c)

7

d)

8

8.

Says everything between these tags is our html page.

a)

<head>

b)

<title>

c)

<html>

d)

<hltm>

9.

Container for all other html tags

a)

<title><title>

b)

<head></head>

c)

<html></html>

d)

<html><html>

10.

The ____ tag contains important information about the document

a)

<title>

b)

<head>

c)

<html>

d)

<hltm>

11.

Defines the title of the webpage.

a)

<title>

b)

<head>

c)

<html>

d)

<body>

12.

Where the actual content of the document goes and is where most of your html tags will go.

a)

<title></title>

b)

<head></head>

c)

<html></html>

d)

<body></body>

13.

What is used to show the structure of the tags?

a)

indenting

b)

curly braces

c)

braces

d)

brackets

14.

A tree is

a)

the way to identify tags

b)

the structure of the html document

c)

where most of the content goes

d)

where you can add special tags

15.

The <head> tag and the <body> tag are inside the <html> tag

a)

True

b)

False

16.

The <title> tag is inside the <head> tag

a)

True

b)

False

17.

What is the function of the <br> tag?

a)

Create a line break on the resulting webpage

b)

Create a horizontal line on the resulting webpage

c)

Italicize text

d)

Bold text

18.

Which of the following is the correct HTML code to create a hyperlink that displays and links to google.com?

a)

<a href="https://google.com">

Click Me

</a>

b)

<a href="Click Me">

https://google.com

</a>

c)

Click Me <a>https://google.com</a>

d)

<a>

Click Me

</a href="https://google.com">

19.

Which of the following lines of HTML code will insert an image into a webpage?

a)

<img>

https://codehs.com/static/img/logo.png

</img>

b)

<img>

src="https://codehs.com/static/img/logo.png"

</img>

c)

<img src="https://codehs.com/static/img/logo.png">

d)

<img https://codehs.com/static/img/logo.png>

20.

This tag creates a paragraph tag, which provides an automatic break between paragraphs.

Write the correct tag.

(a)  

21.

This tag allows you to make text on a page bold.

Write the correct tag.

(a)  

22.

This tag allows you to make text on a page italic.

Write the correct tag

(a)  

23.

This tag creates a break on a page that moves all text or elements down the page.

Write the correct tag.

(a)  

24.

This tag creates a break on a page, but includes a horizontal line.

Write the correct tag.

(a)  

25.

This tag allows putting links on a web page. It uses the href attribute to specify what the link should point to.

Write the correct tag.

(a)  

26.

Points the user to a hypertext document that will be loaded once the user clicks on it.

a)

Document

b)

Image

c)

Link

d)

href

27.

These three letters specifies where to get the image from.

(a)  

28.

Allows adding an image to a web page. Write the correct tag.

(a)  

29.

All of these attributes can be used with the <img> tag except....

a)

Height

b)

Width

c)

<b>

d)

src

30.

Which tag do not need a closing tag because they are not enclosing any information?

(a)