Test with Correct HTML/CSS/JS Answers 2025/2026
What is the purpose of the CSS3 transition-delay property?
A) To describe the speed of the transition
B) To describe the entrance and exit styles of the transition
C) To define when the transition will begin
D) To define the amount of time that the transition takes - correct answer
To define when the transition will begin
While filling out a form, Oscar neglected to enter a value in the "Middle
Initial" field, and then submitted the form. What variable data type will the
"Middle Initial" field contain?
A) Object
B) Boolean
C) Null
D) Undefined - correct answer Null
You can use CSS to align images to text. Which of the following alignment
options is the default alignment?
A) Left
B) Right
C) Bottom
D) Top - correct answer Bottom
Consider the following javascript expression:
,() * 2
What is the result of this expression?
A) The result of this expression is: 2
B) The result of this expression is: -0.25
C) The result of this expression is: -0.5
D) The result of this expression is: 8 - correct answer The result of this
expression is: 8
Which technique keeps images from exceeding the width of the screen?
A) Screen resolution
B) Fluid image
C) Flexible frame
D) mobileok - correct answer Fluid image
Experts in Web technology expect that the future of Web development will
rely heavily on:
A) Java applets.
B) HTML5 apis.
C) Apple mobile devices.
D) Android mobile devices. - correct answer HTML5 apis.
In javascript, what is a function?
A) A named set of statements that performs a task or calculates a value.
B) A built-in object behavior.
C) A commonly used term for a script.
, D) A customized method that compiles a script. - correct answer A named
set of statements that performs a task or calculates a value.
Which javascript object can be affected by the onabort event handler?
A) button
B) link
C) form
D) image - correct answer image
How can you "comment out" a particular rule in a style sheet so that it will
be ignored when you link the style sheet to a Web document?
A) Place the rule between the /* and */ characters.
B) Place the rule within curly braces.
C) Place the rule within semicolons.
D) Place the rule within quotation marks. - correct answer Place the rule
between the /* and */ characters.
How can you link an HTML document to an appcache manifest file named
date.appcache?
A) By adding the appcache="date.appcache" attribute to the <html> tag
B) By adding the manifest="date.appcache" attribute to the <body> tag
C) By adding the manifest="date.appcache" attribute to the <html> tag
D) By adding the appcache="date.appcache" attribute to the <body> tag -
correct answer By adding the manifest="date.appcache" attribute to the
<html> tag