wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

CSS Day 1

Total questions: 17

Worksheet time: 7mins

Name
Class
Date
1.

HTML tag for inserting an image

a)

<img src="image.gif" alt="MyImage" />

b)

<img href="image.gif" alt="MyImage" />

c)

<image src="image.gif" alt="MyImage" />

d)

<img alt="MyImage">image.gif</img>

2.

How many heading tags are there in HTML5?

a)

2

b)

5

c)

7

d)

6

3.

Which HTML element defines the title of a document?

a)

<meta>

b)

<head>

c)

<title>

d)

<!DOCTYPE>

4.

HTML comments start with <!-- and end with -->

a)

False

b)

True

5.

Which is the correct HTML element for underlining text?

a)

<u>

b)

<under>

c)

<uline>

d)

<ul>

6.

What is formatting in HTML?

a)

The HTML contains six types of headings which are defined with the <h1> to <h6> tags.

b)

a process of format the text for a better look and feel

c)

There are some HTML tags that don't need a closing tag.

d)

Content is placed between tags to display data on the web page.

7.
Which is correct CSS syntax? 
a)
{ body; color=black;}
b)
body: color= black
c)
body {color:black;}
d)
(body color is black) 
8.
What unit of measurement does CSS use for size?
a)
px
b)
em
c)
%
d)
All work
9.

DNS maps human, readable domain names into actual ___.

a)

IP addresses.

b)

domain names.

c)

servers.

d)

caches.

10.

What are the three types of style sheet

a)

Internal, external, inline

b)

Inline, internal, extreme

c)

Insidious, internal, external

d)

None of the above

11.

<link type="stylsheet" href="exx.css"> belongs to

a)

External

b)

Internal

c)

Inline

d)

None of the above

12.

Stye tag will come inside body for

a)

External

b)

Inline

c)

Internal

d)

All of the above

13.

Is CSS

a)

Used in client side scripting

b)

Used in server side scripting

c)

Both server and client side scripting

d)

None of the above

14.
Where in the HTML document is the correct location to insert code to link to your external CSS? 
a)
In the <head> section
b)
In the <body> section
c)
At the very end of the document
d)
At the very beginning of the document
15.
What is the difference between HTML and CSS?
a)
CSS is one type of HTML
b)
HTML gives a webpage structure. CSS provides styling.
c)
CSS structures a webpage. HTML strictly provides styling.
d)
There is no difference.
16.

how many types of CSS

a)

1 type

b)

2 types

c)

3 types

d)

4 types

17.

What does a class do?

a)

adds color to words

b)

adds style to specific elements

c)

adds style to a whole page

d)

adds a lot more work