uCertify JavaScript Chapter 9 and 10
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Easy
Greg Baker
Used 12+ times
FREE Resource
Enhance your content in a minute
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following methods returns an array of all the elements in a Webpage, with a specified class name?
getElementsByName
getElementsByTagName
getElementsByClassName
getElementByClassName
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method allows you to delete entire HTML attributes from an element?
getElementById
setAttribute
innerHTML
removeAttribute
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method retrieves the corresponding value of an attribute?
getAttribute
setAttribute
removeAttribute
innerHTML
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following methods will access all occurrences in the page of an element with a specified name value and return them in an array?
getElementsByTagName
getElementById
innerHTML
getElementsByName
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line of code will center <div id="mydiv"> on the page?
document.getElementsByName("mydiv").setAttribute("align", "center");
document.getElementById("mydiv").getAttribute("align", "center");
document.getElementsByName("mydiv").getAttribute("align", "center");
document.getElementById("mydiv").setAttribute("align", "center");
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following methods lets you access all occurrences of an HTML tag in a Webpage?
getElementByID
getElementsByName
getElementsByTagName
innerHTML
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method will return only the first occurrence of a specified element in a script, rather than finding all occurrences of a specified element and returning them in an array?
getElementsByTagName
getElementById
innerHTML
getElementsByName
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Sains Komputer Tingkatan 5 - 1.3.1 Menerangkan get logik
Quiz
•
1st Grade - Professio...
20 questions
Quiz 4
Quiz
•
1st - 10th Grade
22 questions
HTML Quiz
Quiz
•
9th Grade
16 questions
J808 LO6.2 Tools to present information
Quiz
•
10th - 11th Grade
20 questions
QUIS Animasi
Quiz
•
9th - 12th Grade
25 questions
TIK01
Quiz
•
12th Grade
20 questions
Network topologies
Quiz
•
8th Grade - University
17 questions
How close are we to replacing HUmans with Robots? (Video 8)
Quiz
•
10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
