Question: Which of the following is the correct syntax for using the getElementsByTagName() method to return all of a documents p elements? a. document.getElementsByTagName( ) b.
Which of the following is the correct syntax for using the getElementsByTagName() method to return all of a document’s p elements?
a. document.getElementsByTagName("
")
b. document.getElementsByTagName("p")
c. document.getElementsByTagName(
)
d. document.getElementsByTagName() = "
"
Step by Step Solution
3.28 Rating (148 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
