Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Formatting Tags - Coding

Total questions: 17

Worksheet time: 10mins

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.
"src" stands for _________.
a)
source
b)
sound
c)
scroll
d)
scrouse
4.

Which tag is used to show small text?

a)

<small>

b)

<src>

c)

<width>

5.

<head> </head>

a)

contains information about the web page such as style

b)

contains tags for the text and images on a web page

c)

contains the headings on a web page

6.

<h1> </h1>

a)

create a horizontal rule

b)

make a hyperlink

c)

add a heading

7.

What is the opening tag for heading (biggest size)

a)

h1

b)

h2

c)

/h1

d)

/h2

8.

Code heading as 'Food' (biggest size)

a)

<h1>Food</h1>

b)

<h2>Food<h1>

c)

H1 food h2

d)

H2 food h3

9.

Which one is the smallest heading?

a)

h1

b)

h2

c)

h4

d)

h6

10.
HTML tags are always surrounded by
a)
( )
b)
{ }
c)
< >   
d)
"  "
11.
Which is the correct way of adding a url to an image HTML element?
a)
<img src="globe">
b)
<img scr="globe.png">
c)
<img src="globe.png">
d)
img src=globe.png>
12.

IMG is short for:

a)

image

b)

imagine

c)

source

d)

photo

13.

What is missing from this image tag?


<img="cat.jpeg" alt="cat"/>

a)

h1

b)

h6

c)

.jpeg

d)

src=

14.

Define this formatting tag: <small> </small>

a)

increase font size

b)

decrease font size

c)

underline text

d)

strikethrough text

15.

Which of the following represent accurate alignment tags:

a)

<p>align=right</p>

b)

<p>align=center</p>

c)

<p=align=right</p>

d)

<p>align=left</p>

16.

Define the following formatting tag: <u> </u>

a)

write in bold

b)

underline text

c)

italicized text

d)

smaller text

17.

<tagname style=”property:value;”> represents:

a)

Adding text

b)

Adding Color

c)

Adding images

d)

Adding Headers