wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML text formatting

Total questions: 33

Worksheet time: 17mins

Name
Class
Date
1.
It defines bold text
a)
<b>
b)
<p>
c)
<B>
d)
<r>
2.
These tags are used for format output like bold or italic text.
a)
analyzing tags
b)
formatting tags
c)
changing tags
d)
html tags
3.
These tags are used for format output like bold or italic text.
a)
analyzing tags
b)
formatting tags
c)
changing tags
d)
html tags
4.
Formatting tags for superscripted text
a)
<sub>
b)
<sun>
c)
<sup>
d)
<ins>
5.
The <img> tag is empty, which means that it contains ___________ only, and has no closing tag. 
a)
value
b)
code
c)
attribute
d)
tag
6.
It defines emphasized texts.
a)
<en>
b)
<emp>
c)
<em>
d)
<e>
7.
The <img> tag is empty, which means that it contains ___________ only, and has no closing tag. 
a)
value
b)
code
c)
attribute
d)
tag
8.
"src" stands for _________.
a)
source
b)
sound
c)
scroll
d)
scrouse
9.
<img src=“New/cats.jpg”>
from the code above, which of the following stands for folder.
a)
new
b)
cats
c)
src
d)
img
10.
The _________ displays the image where the <img> tag occurs in the document.
a)
website
b)
browser
c)
tags
d)
search engine
11.
The alt text should describe the _______ if the image contains information.
a)
drawing
b)
outline
c)
image
d)
data
12.
Alt text also helps search engines find ______ when people limit their search to images. 
a)
data
b)
tags
c)
images
d)
information
13.

What does every HTML tag begin and end with?

a)

()

b)

<>

c)

=

d)

:

14.

What is HTML?

a)

how to be a web designer

b)

the language of the web

c)

the language of MacBooks

d)

all of the above

15.

What does the closing tag have that the opening tag does not?

a)

=

b)

:

c)

;

d)

/

16.

What does the <html> tag do?

a)

gives information about our web page

b)

tells the browser which version of HTML we are using

c)

says everything in between the html tags is the actual content of our page

d)

contains metadata

17.

The _________________ tag contains the title of our web page, while the ________________ tag contains the actual content of our web page.

a)

<header>;<footer>

b)

<head>;<body>

c)

<title>;<content>

d)

<body>;<head>

18.

What is HTML formatting?

a)

the language of the web

b)

provides several tags that change the style of text on our web page

c)

the markup language

d)

an Google application

19.

Select the correct tag use to add image to our webpage

a)

<IMG SRC=""FILE NAME"" ALT="" alternate text"">

b)

<IMG >""FILE NAME"</IMG>

c)

<IMG SRC=""FILE NAME"" ALT=""ALTERNATE TEXT""></IMG>

20.

<A HREF></A> Tag is used to

a)

Add image

b)

Add link

c)

Change font style

21.

<BR> tag is

a)

Empty Tag

b)

Container Tag

c)

None

22.

<MARQUEE> tag is used to

a)

Underline text

b)

scrolling text

c)

Mark text

23.
Annie wants the name of her product to be the main heading at the top of her webpage. Which tag defines
the main heading in a web document?
a)
<h3>Product</h3>
b)
<h5>Product</h5>
c)
<h1>Product</h1>
d)
<h6>Product</h6>
24.
Which item refers to the start tag, the end tag and everything in between?
a)
HTML Element
b)
HTML Tag
c)
HTML Attribute
d)
CSS
25.
_____is a text file that contains CSS formatting instructions to define the font, color and position of elements used on any markup page(s) to which you attach the style sheet.
a)
<DOCTYPE!>
b)
<main>
c)
An external CSS file, or style sheet
d)
HTML
26.
Name an element which doesn't have a closing tag.
a)
<img>
b)
<head>
c)
<body>
d)
<p>
27.
Which is the most current version of CSS?
a)
CSS1
b)
CSS2
c)
CSS3
d)
CSS4
28.
<!DOCTYPE> 
a)
Defines the document type
b)
Defines a comment
c)
Defines the document's body
d)
Defines information about the document
29.

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

a)

True

b)

False

30.

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

a)

#

b)

()

c)

.

d)

class

31.
The code for the comment tag in CSS is
a)
<!-- comment -->
b)
<!-- comment >
c)
/* comment /*
d)
/* comment */
32.
A selector (ex: h1{ } ) can only have 1 property
a)
true
b)
false
33.
A selector (ex: h1{ } ) can only have 1 property
a)
true
b)
false