Exam with 100% Correctly Verified Solutions 2025/2026
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
Jquery's dom-related methods provide a simpler way to access and
manipulate html elements and attributes. Html elements are selected and
jquery performs various actions on them using the following code:
,$(selector).action()
Which portion of this code specifies and accesses jquery?
A) (selector)
B) action()
C) (selector).action()
D) $ - correct answer $
Why is it challenging to use images in your page designs for mobile sites?
A) because images are required for hyperlinks but generally do not work
well
B) because of size constraints in device screens and memory
C) because plug-ins are required in order to view the images
D) because images do not provide essential content, only visual appeal -
correct answer because of size constraints in device screens and memory
What is the default security algorithm used with the html5 <keygen>
element?
A) rgba
B) ec
C) dsa
D) rsa - correct answer rsa
Roshon wants to create an html5-compliant page that has four sections: a
section that contains the site navigation links, top and bottom sections that
contain a logo and copyright information, and a section that contains the
main message of the page. Which elements should roshon use to create
these sections?
, A) the <header>, <footer>, <nav> and <aside> elements
B) the <header>, <footer>, <article> and <aside> elements
C) the <main>, <nav>, <article> and <aside> elements
D) the <header>, <footer>, <nav> and <main> elements - correct answer
the <header>, <footer>, <nav> and <main> elements
Consider the following code:
Function datetodaytomorrow(a, b)
{
A.concat(b);
Return a.valueof();
}
Alert(datetodaytomorrow('wednesday','thursday'));
What message will appear in the alert box when this script is run in the
browser?
A) wednesdaythursday
B) wednesday
C) thursdaywednesday
D) thursday - correct answer wednesday
Hugo has created an html document to which he has attached an external
css style sheet containing styles that define all html elements in the
document. Hugo wants to apply styles to his home page only that will
override the style definitions of the attached style sheet. How can he
accomplish this?