wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Day -4 Workshop Quiz

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

Which HTML attribute is used to define inline styles?

a)

A) class

b)

B) font

c)

C) style

d)

D) styles

2.

Which of the following is correct to open a new page in a new browser window/tab?

a)

A) <a href="url" target="_self">

b)

B) <a href="url" target="_new">

c)

C) <a href="url" target="_blank">

d)

D) <a href="url" target="new">

3.

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

a)

A) <ul>

b)

B) <ol>

c)

C) <list>

d)

D) <li>

4.

9. Which tag is used to define a table row in HTML?

a)

A) <row>

b)

B) <table>

c)

C) <tr>

d)

D) <td>

5.

Which HTML element is used to specify a footer for a document or section?

a)

A) <bottom>

b)

B) <footer>

c)

C) <section-footer>

d)

D) <section>

6.

Which HTML tag is used to define an internal style sheet?

a)

A) <script>

b)

B) <css>

c)

C) <style>

d)

D) <link>

7.

Which CSS property controls the text size?

a)

A) font-style

b)

B) text-size

c)

C) font-size

d)

D) size

8.

Which property is used to change the background color in CSS?

a)

A) bgcolor

b)

B) background-color

c)

C) color

d)

D) back-color

9.

Which CSS property is used to create space between the border and the content inside an element?

a)

A) margin

b)

B) border-spacing

c)

C) padding

d)

D) spacing

10.

Which of the following selectors applies to all elements of a page?

a)

A) *

b)

B) #all

c)

C) body

d)

D) .all

11.

How do you make each word in a text start with a capital letter?

a)

A) text-transform: capitalize;

b)

B) text-style: capitalize;

c)

C) text-format: capitalize;

d)

D) font-transform: capitalize;

12.

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

a)

A) color

b)

B) font-color

c)

C) text-color

d)

D) background-color

13.

What is the correct HTML element for inserting a line break?

a)

<lb>

b)

B) <break>

c)

C) <br>

d)

D) <newline>

14.

What CSS property is used to control the spacing between each letter?

a)

A) letter-spacing

b)

B) character-spacing

c)

C) text-spacing

d)

D) font-spacing

15.

Which CSS property controls the display of an element as a block or inline?

a)

A) display

b)

B) visibility

c)

C) block

d)

D) inline