Home
Select a quiz to get started.
HTML
CSS
Javascript
Question 1
What is the proper syntax for a page break?
<br>
<break/>
</brk>
<return/>
Submit
Question 2
What is another way to make text bold, besides <b>?
<fat>
<strong>
<bg>
<emp>
Submit
Question 3
What is the tag used to insert a horizontal line?
<line>
<hor>
<hr>
<l>
Submit
Question 4
How do you create an image that serves as a link?
<a href="url of site"><img src="pic.jpg"></a>
<a href="url of site" img src="pic.jpg</a>
<img src="pic.jpg" link="url of site">
<a href="url of site" <img src="pic.jpg"> </a>
Submit
Question 5
What is the tag used to create a list with each item numbered?
<ul>
<list type="numbered">
<ol>
<nl>
Submit
Question 6
What is the correct way to create a checkbox that is disabled?
<checkbox name="groceries" enabled="false">carrots</checkbox>
<form type="checkbox" name="groceries" value="carrots" disabled>
<input type="checkbox" name="groceries" value="disabled" chk="carrots">
<input type="checkbox" name="groceries" disabled value="carrots">
Submit
Question 7
How do you create an editable textarea?
<input type="textarea" width="10" height="20">Content...
<textarea rows="10" cols="20">Content...</textarea>
<textarea>Content...</textarea>
<textarea width="10px" height="20px">Content...</textarea>
Submit
Question 8
What is the second to smallest header tag?
<header="9">
<h6>
<h2>
<hd6>
Submit
Question 9
What does the <pre> tag do?
Loads content from the previous page
Loads a presumed value
Creates a Primary Required Entity form
Displays text in a preformatted state
Submit
Question 10
What does the <mark> tag do?
Highlights text
Marks content for search engines
Marks the version of the current file
Indents text
Submit
Question 1
Which property is used to change the background color of a page?
color:
background-color:
bgcolor:
bg-hex:
Submit
Question 2
Which property is used to control text size?
font-size
text-size
style-size
font-ratio
Submit
Question 3
How would you underline all hyperlinks?
a:{text-decoration: stroke;}
a:{text: underline;}
link:{text-decoration: underline;}
a:{text-decoration: underline;}
Submit
Question 4
How would you make all paragraphs bold?
.para{style:bold}
p {font-weight:bold}
p{text:bold}
p{style="bold"}
Submit
Question 5
Can you submit a form with CSS?
Yes
Only if the form is created with CSS
No
Yes, but the data will only be readable with a CSS decrypter
Submit
Question 6
What syntax creates round borders?
border-angle:15em;
corner-radius:15px;
border:15px;
border-radius:15px;
Submit
Question 7
How would you force text to word wrap?
text:break-word;
word-wrap:break-word;
word-wrap:force;
text:world-wrap;
Submit
Question 8
How would you scale an element to twice its size?
transform: size:2;
transform: scale(2,2);
transform: scale(2.2);
scale: transform(2,2);
Submit
Question 9
How would you change the opacity of an image to one-quarter of its original value?
img-opacity:0.25;
opacity:-75;
opacity:0.25;
img-opacity:25;
Submit
Question 10
What color would #ff00ff make?
Purple
Orange
Green
White
Submit
Question 1
What's the correct syntax to create an alert-box?
box-type="alert" value="hello world";
alert("hello world");
alert["hello world"];
#a{"hello world"};
Submit
Question 2
What's the correct syntax to create a function called "tap-dance"?
function tap-dance(){}
function "tap-dance"(){}
var "tap-dance"(){}
function (tap-dance){}
Submit
Question 3
How do you create a variable named "Alf"?
variable = "Alf";
var(Alf)
$Alf;
var Alf;
Submit
Question 4
How would you check if a variable called "Pigs_Fly" is true?
if (Pigs_Fly) = true
if "Pigs_Fly" == true
if (Pigs_Fly == true)
if {pigs_fly == true}
Submit
Question 5
What is the function of the "for" loop?
It loops through a page looking for specific data.
It loops through a block of code a certain number of times.
It loops forward in a block of code.
It loops forever until the page is exited.
Submit
Question 6
How would you round 800.8 to the nearest whole number?
numb.round(800.8);
math.ceil{"8008.8"};
math.rnd[800.8];
math.round(800.8);
Submit
Question 7
How would you add 1 to a variable called "weight" every time the function "eat_donut" is called?
function eat_donut(){var weight = 1}
function eat_donut(){weight+1}
function eat_donut(){weight++}
function eat_donut(){weight.math.plus=1}
Submit
Question 8
How would you check if "Elvis" or "John_Lennon" equal "alive?"?
if (Elvis == "alive" or John_Lennon == "alive")
if (Elvis == "alive" || John_Lennon == "alive")
if (Elvis == "alive" /&/ John_Lennon == "alive")
if (Elvis == "alive" !! John_Lennon == "alive")
Submit
Question 9
Which of the following inserts a carriage return in a text string?
\r
/r
//
\n
Submit
Question 10
How do you load the previous page visited from the browser history?
browser.window.history.back()
window.history.back()
browser.history.back()
It can't be done.
Submit
You are...
Incorrect
The Answer is...
null
Next
Finished
Quiz Complete!
Your Score is:
0
Share your score on twitter!
Tweet
Home