wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML and CSS

Total questions: 13

Worksheet time: 6mins

Name
Class
Date
1.

To Write A HTML File, which tag will we use?

a)

<<html>>

b)

<html>

c)

<!html>

d)

<--!html-->

2.

To write a css file whiich tag we will use?

a)

<css>

b)

<!css>

c)

<styles>

d)

<!styles>

3.

Which tag is used to add an image?

a)

<image>

b)

<img>

c)

<<img>>

d)

</image>

4.

Which of the following is the correct way to add an attribute?

a)

<src>

b)

classes:ids

c)

id="title"

d)

<id>

5.

What symbol should you use to target an id in css?

a)

.

b)

+

c)

id

d)

#

6.

What is the correct syntax to change the background color with css?

a)

background-color: purple;

b)

background-color = "purple";

c)

backgroundcolor=orange

d)

change-background-color: purple

7.

What is missing from this HTML skeleton?


<!DOCTYPE html>

<html>

<body>

</body>

</html>

a)

<head></head>

b)

<div></div>

c)

<img></img>

d)

<head>

8.

How do you change the font color with CSS?

a)

font-color: green;

b)

color: green;

c)

change-font-color: green;

d)

fontcolor=green;

9.

What tag do you use to make a numbered list?

a)

<list>

b)

<ol>

c)

<li>

d)

<ul>

10.

TRUE OR FALSE: HTML is used to add content to web pages.

a)

True

b)

False

11.

Where should you put the link tag to connect your CSS and HTML file?

a)

Between the <head> </head> in HTML

b)

Between the <body> </body> in HTML

c)

None of the above.

12.

A ___________ is an icon, graphic, or text that links to another file or object. These are what allow web pages to connect to other web pages

a)

hyperlink

b)

HTML Tags

c)

browser

d)

<br>

13.

A __________ is a protection for any published work that helps to prevent that work from being used without prior authorization.

a)

Firewall

b)

HTML

c)

Copyright

d)

CSS Declaration