wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML CSS BOOTCAMP

Total questions: 15

Worksheet time: 5mins

Name
Class
Date
1.

Which HTML tag is used for creating an ordered list?

a)

<ul>

b)

<ol>

c)

<li>

d)

<dl>

2.

In CSS, how do you select an element with the class "btn1"?

a)

#btn1

b)

.btn1

c)

{btn1}

d)

=btn1

3.

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

a)

bg-color

b)

background-color

c)

color

d)

font-color

4.

What does CSS stand for?

a)

Colorful Style Sheets

b)

Cascading Style Sheets

c)

Creative Style Sheets

d)

Computer Style Sheets

5.

Which HTML tag is used for creating a hyperlink?

a)

<hyper>

b)

<link>

c)

<a>

d)

<hyperlink>

6.

Which HTML tag is used for creating an unordered list?

a)

<ul>

b)

<ol>

c)

<li>

d)

<dl>

7.

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

a)

<newline>

b)

<br>

c)

<break>

d)

<line>

8.

Which CSS property is used to control the size of text?

a)

text-size

b)

size

c)

font-size

d)

size-font

9.

Which HTML input type is used for a simple text input field?

a)

text

b)

input

c)

text-box

d)

element

10.

How do you set the background color of an HTML element using CSS?

a)

background-color

b)

color

c)

bg-color

d)

color-background

11.

Which HTML tag is used to define the structure of a form?

a)

<input>

b)

<label>

c)

<button>

d)

<form>

12.

What CSS property is used to set the font family for text in an HTML element?

a)

font-family

b)

font-style

c)

fontfamily

d)

style-family

13.

Which HTML element is used to create a label for an input field?

a)

<name>

b)

<label>

c)

<input name>

d)

<textlabel>

14.

HTML is a programming language ?

a)

True

b)

False

15.

Where to use <style> tag in html?

a)

body

b)

head

c)

both body and head

d)

everything