wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML Lesson 2A Review

Total questions: 42

Worksheet time: 22mins

Name
Class
Date
1.

Use the HTML image attributes to set the size of the image to 250 pixels wide and 400 pixels tall.

a)

<img src="scream.png" width="250" height="400">

b)

<image source="scream.html">

2.

src - Specifies the path to the image

a)

True

b)

False

3.

alt - Specifies an alternate image for the image

a)

True

b)

False

4.

The HTML <img> tag is used to embed an image in a web page.

a)

True

b)

False

5.

The <img> tag is empty, it contains attributes only, and does not have a closing tag.

a)

True

b)

False

6.

<img>

a)

add an image

b)

make text italic

c)

 link to Internet<

7.

<br>

a)

change background color

b)

insert a browser link

c)

 insert a line break

8.

<!DOCTYPE HTML>

a)

 places the HTML heading on a web page

b)

tells the web browser the file is an HTML document

c)

last line in an HTML document used to end the file

9.

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>

10.

<p> is

a)

punctuation tag

b)

closing paragraph tag

c)

closing punctuation tag

d)

paragraph tag

11.

Which of the following is the largest heading? 

a)

H2

b)

H3

c)

H4

d)

H6

12.

<body>

a)

Body tag

b)

Paragraph tag

c)

Closing body tag

d)

Header tag

13.

</body>

a)

Body tag

b)

Paragraph tag

c)

Closing body tag

d)

Header tag

14.

Does <ul> tag go on the HTML page or the CSS page?

a)

HTML

b)

CSS

15.

TRUE OR FALSE: CSS is used to style web pages

a)

True

b)

False

16.

What symbols go around the properties for each HTML tag?

a)

< >

b)

[ ]

c)

{ }

d)

( )

17.

The correct way of placing our html tags like the paragraph and the list is inside the html body <body> </body>

a)

true

b)

false

18.

<img> tag finds;

a)

finds the image located at the a URL and the src attribute and then displays it.

b)

finds the image located at the SRC in the URL attribute and then displays it.

c)

Adds a cool picture

d)

Does not work in HTML coding

19.

What attribute of an <img> element is a meaningful description of the image.

a)

Alt

b)

src

c)

JPEG

d)

GIF

20.

What is the attribute for how you specify the location of the image file.

a)

Alt

b)

JPEG

c)

W3C

d)

src

21.

These are the three formats for images that are widely supported by web browsers.

a)

JPEG

b)

PNG

c)

GIF

d)

BMP

22.

What is the current HTML standard.

a)

HTML2

b)

HTML3

c)

HTML4

d)

HTML5

23.

Define your character set in the Meta tag in the HEAD tags.

a)

!doctype html

b)

html lang="en"

c)

meta charset="utf-8"

24.

Which statement is basically correct?

a)

CSS and HTML are both responsible for site presentation.

b)

CSS and HTML are both responsible for site structure.

c)

CSS is responsible for site presentation, and HTML is responsible for site structure.

d)

CSS is responsible for site structure, and HTML is responsible for site presentation.

25.

Which target attribute in an anchor tag specifies that a hyperlink will open in a new window or tab?

a)

_blank

b)

_new

c)

_open

d)

_self

26.

Xavier wants to help his audience find certain topics that he has listed in his website. He used larger headings for his main topics and normal text for his general information. This helps his audience know what is important. Which best describes what Xavier did to his website?

a)

maintaining consistency

b)

separating content from design

c)

using standard fonts

d)

using visual hierarchy

27.

Creates a bulleted list (Unordered List)

a)

<ul>

<li>

<li>

</ul>

b)

<ol>

<li>

<li>

</ol>

c)

<li>

</li>

d)

<p>

<li>

<li>

</p>

28.

What is 'html' used for?

a)

to search websites

b)

to spellcheck web pages

c)

to create webpages

d)

to destroy viruses

29.

Which is the correct spelling?

a)

hypolink

b)

hyprelink

c)

hippolink

d)

hyperlink 

30.

Comments in coding is used to help

a)

the programmer

b)

anyone viewing the website

c)

the editor of the code

d)

the reader of the code

31.

I type my code inbetween the body tags

a)

True

b)

False

32.

What do we call the information between the tags?

(a)  

33.

How many different heading tags are there?

a)

1

b)

2

c)

12

d)

6

34.

If I wanted to recreate this on my web page:

a)

Smallest would be an <h1>

b)

Smallest would be an <h6>

c)

Smallest would be an <h3>

35.

If I wanted to recreate this on my web page:

a)

Biggest would be an <h1>

b)

Biggest would be an <h3>

c)

Biggest would be an <h6>

36.

If I have an <h1> I have to ALSO have an </h1>. Why?

a)

because you do

b)

so that the computer knows where to stop

c)

because it makes the code more interesting to look at

d)

it makes my life more difficult

37.

What do the tags <p> and </p> tell the computer?

(a)  

38.

What makes the closing tag DIFFERENT than the opening tag?

a)

the slash telling the computer to stop

b)

nothing, they're the same

c)

the angled brackets

39.

What is the red boxed area called?

a)

opening tag

b)

content

c)

HTML

d)

angled bracket

40.

What is the WHOLE THING called?

a)

HTML element

b)

HTML tag

c)

HTML

d)

content

41.

The 7th grade students want to make a list of the winners of a race using numbers They would use which HTML tag?

a)

<ul></ul>

b)

<ol></ol>

c)

<list></list>

42.

Everything visible on a web page goes between these two tags.

a)

<body> </body>

b)

<title> </title>

c)

<header> </header>

d)

None of the Above