Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

coding club

Total questions: 30

Worksheet time: 10mins

Name
Class
Date
1.

What does CSS stand for?

a)

Cascading Style Sheets

b)

Computer Style Sheets

c)

Creative Style Sheets

d)

Colorful Style Sheets

2.

Which tag is used to define an image in HTML?

a)

img

b)

image

c)

src

d)

picture

3.

What is the correct HTML for creating a hyperlink?

a)

<a>http://www.example.com</a>

b)

<a href='http://www.example.com'>Click here</a>

c)

<a url='http://www.example.com'>Click here</a>

d)

<a link='http://www.example.com'>Click here</a>

4.

What does HTML stand for?

a)

Hyper Text Markup Language

b)

Highly Technical Markup Language

c)

Home Tool Markup Language

d)

Hyperlink and Text Markup Language

5.

Which tag is used to create a line break in HTML?

a)

<br>

b)

<lb>

c)

<break>

d)

<line>

6.

What is the correct way to comment out code in HTML?

a)

<!-- This is a comment -->

b)

<comment>This is a comment</comment>

c)

<comment>This is a comment -->

d)

<!-- This is a comment >

7.

What tag is used to create an unordered list in HTML?

a)

<ul>

b)

<ol>

c)

<li>

d)

<list>

8.

Which attribute is used to define the source of an image in HTML?

a)

src

b)

href

c)

link

d)

url

9.

What does the CSS property 'font-weight' control?

a)

Font size

b)

Font color

c)

Font style

d)

Font thickness

10.

What does the HTML tag <em> represent?

a)

Emphasized text

b)

Italicized text

c)

Underlined text

d)

Bold text

11.

Which CSS property is used to change the background color of an element?

a)

color

b)

background-color

c)

text-color

d)

bg-color

12.

What is the correct way to include an external CSS file in an HTML document?

a)

<link rel='stylesheet' type='text/css' href='styles.css'>

b)

<style src='styles.css'></style>

c)

<css>styles.css</css>

d)

<include>styles.css</include>

13.

What is the correct way to create a numbered list in HTML?

a)

<ol>

b)

<ul>

c)

<li>

d)

<list>

14.

Which HTML tag is used to define a table?

a)

<table>

b)

<tr>

c)

<td>

d)

<th>

15.

What does the CSS property 'text-decoration' control?

a)

Font size

b)

Font color

c)

Text style

d)

Text decoration

16.

What does the CSS property 'margin' control?

a)

Element size

b)

Element position

c)

Element spacing

d)

Element color

17.

Which tag is used to create a hyperlink in HTML?

a)

<link>

b)

<a>

c)

<href>

d)

<url>

18.

What is the correct way to define a paragraph in HTML?

a)

<p>

b)

<para>

c)

<paragraph>

d)

<text>

19.

What is the correct way to define a heading in HTML?

a)

<heading>

b)

<h1>

c)

<title>

d)

<header>

20.

Which tag is used to create a bulleted list in HTML?

a)

<ol>

b)

<ul>

c)

<li>

d)

<list>

21.

What does the CSS property 'padding' control?

a)

Element size

b)

Element position

c)

Element spacing

d)

Element color

22.

What is the correct way to define a division in HTML?

a)

<div>

b)

<section>

c)

<block>

d)

<container>

23.

Which tag is used to create a horizontal rule in HTML?

a)

<hr>

b)

<line>

c)

<rule>

d)

<horizontal>

24.

What does the CSS property 'text-align' control?

a)

Element size

b)

Element position

c)

Text alignment

d)

Text decoration

25.

What does the CSS property 'font-style' control?

a)

Font size

b)

Font color

c)

Font style

d)

Font decoration

26.

Which tag is used to create a subscript text in HTML?

a)

<sub>

b)

<sup>

c)

<subscript>

d)

<superscript>

27.

Which tag is used to create an italicized text in HTML?

a)

<i>

b)

<italic>

c)

<em>

d)

<italics>

28.

What does the CSS property 'border' control?

a)

Element size

b)

Element position

c)

Element border

d)

Element color

29.

What does the CSS property 'padding' control?

a)

Element size

b)

Element position

c)

Element spacing

d)

Element color

30.

What is the correct way to create an ordered list in HTML?

a)

<ol>

b)

<ul>

c)

<li>

d)

<list>