wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Test 3. HTML,CSS and Javascript

Total questions: 20

Worksheet time: 15mins

Name
Class
Date
1.
HTML stands for
a)
Home Tool Markup Language
b)
Hyper Text Markup Language
c)
Hyperlinks and Text Markup Language
d)
None of the above
2.
Which of the following is the largest heading? 
a)
h2
b)
h3
c)
h4
d)
h6
3.
Which is the correct way of defining an HTML5 document?
a)
<!DOCTYPE html>
b)
<!DOCTYPE HTML5>
c)
<!DOCTYPE html "PUBLIC">
d)
<DOCTYPE html>
4.
<a>
a)
Defines an article tag
b)
Defines an HTML link
c)
Defines the link destination 
d)
Defines the area
5.

A JavaScript file has an extension name of

a)

.jp

b)

.css

c)

.html

d)

.js

6.

Inside which HTML element do we put the JavaScript?

a)

<jscript>

b)

<script>

c)

<javascript>

d)

<scripting>

7.

CSS is the acronym for (a)  

8.

Using the image, which is known as the 'value'?

a)

cyan

b)

background-color

c)

style

d)

div

e)

p

9.

Using the image, which is known as the 'property'?

a)

cyan

b)

background-color

c)

style

d)

div

e)

p

10.

Using the image, which is known as the 'attribute'?

a)

cyan

b)

background-color

c)

style

d)

div

e)

p

11.

Using the image, which is known as tags?

a)

cyan

b)

background-color

c)

style

d)

div

e)

p

12.

When this program is run, what would the alert show?

a)

300

b)

diamondCarats

c)

Nothing

13.

In Javascript, "greater than or equal to" is written as:

(a)  

14.

In Javascript, "less than or equal to" is written as:

(a)  

15.

In Javascript, "equal to" is written as:

(a)  

16.

In Javascript, "not equal to" is written as:

(a)  

17.

In Javascript, we end every statement with (a)  

18.

What would be the output when this code is executed?

(a)  

19.

What would be the output when this code is executed?

(a)  

20.

What would be the output when this code is executed?

(a)