WorksheetsHTML/CSS/JS Aibles Quiz
Total questions: 20
Worksheet time: 10mins
What does HTML stand for?
Hypertext Medium Language
Hippo Tries Making Licorice
Hypertext Markup Lingo
Hypertext Markup Language
What are meta tags used for?
To store information usually relevant to browsers and search engines.
To only store information usually relevant to browsers
To only store information about search engines.
To store information about external links
What is the difference between <h1> and <h2>?
<h1> is larger in size than <h2>
<h2> is larger in size than <h1>
both are the same size but different headings
none of the above
Which tag does not need a closing tag?
<a href>
<head>
<body>
<img src>
What are the three types of style sheet
Internal, external, inline
Inline, internal, extreme
Insidious, internal, external
None of the above
Which of the below is the correct way to set a font size?
h2 {font-size:200%;}
h2 {font-size:200px;}
both a and b
h2 {font-size:200;}
The _____________ selector is used to specify a style for a single, unique element
id
class
text
bit
Which of the below is the correct way to set a background image?
body {background-image:url(paper.gif);}
body {background-image:url('paper.gif')};
body {background-image:url('paper.gif')}
body {background-image:url('paper.gif');}
What is the alternate name for Javascript?
LimeScript
Both a and d
ECMScript
ECMAScript
Which of the following statements are false for JavaScript?
JavaScript can react to events
JavaScript can read and write HTML elements
JavaScript cannot be used to create cookies
Both b and c above
What is the value of:
”41” + 1
42
“42”
411
“411”
How would you declare a variable in JavaScript?
var myName = "Sally"
myName = "Sally"
myName var = "Sally"
var myName = Sally
Which of these lines of code show how to validly store an array with 3 items?
var nums = [42, 3, 7];
var nums = 3, 42, 7;
var nums = [3];
var nums = (3, 42, 7);
Which of the following syntax is correct to refer an external script called “formValidation.js”?
< script href = “formValidation.js”>
< script source = “formValidation.js”>
< script name = “formValidation.js”>
< script src = “formValidation.js”>
Which of the following is correct to write "Hello World" on the web page?
System.out.println(“Hello World”)
print(“Hello World”)
document.write(“Hello World”)
response.write(“Hello World”)
Method used to select the element with a given identifier represented by the HTML element property ID
getElementByClassName() method
getElementById() method
getId()
getElementByTagName()
