wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML&CSS - Quiz

Total questions: 38

Worksheet time: 38mins

Name
Class
Date
1.

Where does this title appear?

a)
b)
2.

Which "padding" is bigger ?

a)

A

b)

B

3.

HTML is used to style web pages.

a)

True

b)

False

4.

CSS is used to style web pages

a)

True

b)

False

5.

HTML is used to create web pages.

a)

True

b)

False

6.

Which one is the largest heading?

a)

h1

b)

h2

c)

h4

d)

h6

7.

Which one is the smallest heading?

a)

h1

b)

h2

c)

h4

d)

h6

8.

Where is the largest margin

a)

between A / B

b)

between B / C

c)

between C / D

9.

Which code is correct ?

a)

border-top-right-radius: 50%;

b)

border-radius: 50%;

10.

Which code is correct ?

a)

border-top-right-radius: 50%;

b)

border-radius: 50%;

11.

Which code is correct ?

a)

<ul> </ul>

b)

<ol> </ol>

12.

To link html and css files together ?

a)
b)
13.

Which code is correct ?

a)

<ul> </ul>

b)

<ol> </ol>

14.

Which code is correct ?

a)

<b> Test font </b>

b)

<u> Test font </u>

c)

<s> Test font </s>

15.

Which code is correct ?

a)

<b> Test font </b>

b)

<u> Test font </u>

c)

<s> Test font </s>

16.

Which code is correct ?

a)

<b> Test font </b>

b)

<u> Test font </u>

c)

<s> Test font </s>

17.

Which shape is correct ?

a)
b)
18.

How to make vertical space between divisions?

a)

margin

b)

padding

c)

top

d)

bottom

19.

How to make equal space between divisions?

a)
b)
20.

Which code is correct ?

a)
b)
21.

Select the correct information about "Font Awesome" ?

a)

has icons

b)

has logos

c)

it is free

d)

can not change its color

22.

to insert video in HTML page

a)

<video src="test.mp4"> </video>

b)

can not be done

23.

to control video (play - sound,....)

a)

<video src="test.mp4"> </video>

b)

<video controls src="test.mp4"> </video>

24.

ask user to select his favorite color

a)

background-color : red;

b)

<input type="color">

25.

ask user to enter his birthday

a)

<input type="button">

b)

<input type="date">

26.

How many <td> in this table?

a)

2

b)

4

27.

How many <tr> in this table?

a)

2

b)

4

28.

Bootstrap is a free framework (Library)

a)

TRUE

b)

FALSE

29.

Bootstrap is responsive

a)

False

b)

True

30.

Bootstrap's grid has ______ columns across the page

a)

1

b)

4

c)

12

31.

In Bootstrap


sm, md, lg, and xl represent ___________

a)

Size of the row

b)

Size of the device's screen

c)

Nothing

32.

In Bootstrap


which class can change text color to red ?

a)

.text-muted

b)

.text-danger

c)

.bg-success

33.

In Bootstrap


which class can change background color to green ?

a)

.bg-secondary

b)

.bg-success

c)

.bg-warning

34.

In Bootstrap


which class can change button color to orange ?

a)

class="btn btn-danger"

b)

class="btn btn-warning"

35.

Which tag is used to add mp3 audio to web page?

a)
b)
36.

Which tag is used to add photo to web page?

a)
b)
37.

Which tag is used to add line ?

a)

<br>

b)

<new line>

38.

Which tag is used to add link (anchor) ?

a)
b)