Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML/CSS/JS Aibles Quiz

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

What does HTML stand for?

a)

Hypertext Medium Language

b)

Hippo Tries Making Licorice

c)

Hypertext Markup Lingo

d)

Hypertext Markup Language

2.
What is the purpose of HTML
a)
To make a formatted document
b)
To make a webpage
c)
To edit photos
d)
To make a creative slide
3.

What are meta tags used for?

a)

To store information usually relevant to browsers and search engines.

b)

To only store information usually relevant to browsers

c)

To only store information about search engines.

d)

To store information about external links

4.

What is the difference between <h1> and <h2>?

a)

<h1> is larger in size than <h2>

b)

<h2> is larger in size than <h1>

c)

both are the same size but different headings

d)

none of the above

5.

Which tag does not need a closing tag?

a)

<a href>

b)

<head>

c)

<body>

d)

<img src>

6.
What does CSS stand for? 
a)
Creative Style Sheets
b)
Cascading Style Sheets
c)
Colorful Style Spread
d)
Computer Style Spread
7.

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

8.

Which of the below is the correct way to set a font size?

a)

h2 {font-size:200%;}

b)

h2 {font-size:200px;}

c)

both a and b

d)

h2 {font-size:200;}

9.

The _____________ selector is used to specify a style for a single, unique element

a)

id

b)

class

c)

text

d)

bit

10.

Which of the below is the correct way to set a background image?

a)

body {background-image:url(paper.gif);}

b)

body {background-image:url('paper.gif')};

c)

body {background-image:url('paper.gif')}

d)

body {background-image:url('paper.gif');}

11.

What is the alternate name for Javascript?

a)

LimeScript

b)

Both a and d

c)

ECMScript

d)

ECMAScript

12.
A variable;
a)
Expresses a true false statement
b)
stores a string, number, or boolean, and gives it a specific, case-sensitive name
c)
takes in an input, does something with it, and then returns an output.
d)
Runs a boolean (true/false) statement based on data entered
13.
A function;
a)
Expresses a true false statement
b)
can contain letters, numbers, spaces, and symbols.
c)
takes in an input, does something with it, and then returns an output.
d)
Runs a boolean (true/false) statement based on data entered
14.

Which of the following statements are false for JavaScript?

a)

JavaScript can react to events

b)

JavaScript can read and write HTML elements

c)

JavaScript cannot be used to create cookies

d)

Both b and c above

15.

What is the value of:

”41” + 1

a)

42

b)

“42”

c)

411

d)

“411”

16.

How would you declare a variable in JavaScript?

a)

var myName = "Sally"

b)

myName = "Sally"

c)

myName var = "Sally"

d)

var myName = Sally

17.

Which of these lines of code show how to validly store an array with 3 items?

a)

var nums = [42, 3, 7];

b)

var nums = 3, 42, 7;

c)

var nums = [3];

d)

var nums = (3, 42, 7);

18.

Which of the following syntax is correct to refer an external script called “formValidation.js”?

a)

< script href = “formValidation.js”>

b)

< script source = “formValidation.js”>

c)

< script name = “formValidation.js”>

d)

< script src = “formValidation.js”>

19.

Which of the following is correct to write "Hello World" on the web page?

a)

System.out.println(“Hello World”)

b)

print(“Hello World”)

c)

document.write(“Hello World”)

d)

response.write(“Hello World”)

20.

Method used to select the element with a given identifier represented by the HTML element property ID

a)

getElementByClassName() method

b)

getElementById() method

c)

getId()

d)

getElementByTagName()