wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Web Development Workshop

Total questions: 10

Worksheet time: 3mins

Name
Class
Date
1.

HTML consists of two (2) sections. What are those sections? 

a)

head and body

b)

html and head

c)

body and foot

d)

foot and head

2.

What is the keyword that we use to specify variable in JavaScript?

a)

variable

b)

var

c)

int

d)

str

3.

Which of the following CSS ID Selector ‘section’ set the background color to green?

a)

#section {color: green}

b)

#section{background-color:green}

c)

.section{background-color:green}

d)

.section{color:green}

4.

The following HTML statement is embedding external JavaScript file ‘change.js’ into HTML document: 

<script href=”change.js”></script> 

a)

True

b)

False

5.

JavaScript can be included within <head> and <body> elements.

a)

True

b)

False

6.

The following HTML statement is linking an external CSS file ‘style.css’ into HTML.

<link href="style.css" rel="stylesheet">

a)

True

b)

False

7.

Which of the following is used for closing an HTML tag?

a)

Backward slash

b)

Hyphen

c)

Period

d)

Forward slash

8.

<h10> is the largest header in HTML.

a)

True

b)

False

9.

Which of the following is the correct way to define a JavaScript function?

a)

function _abc { }

b)

function $abc { }

c)

function 1abc { }

d)

function #abc { }

10.

The external JavaScript file must contain the <script> tag.

a)

True

b)

False