adplus-dvertising
frame-decoration

Question

Which of the following returns a reference of an element having the id “panel”?

a.

get elements by tag name(“panel”)

b.

get element(“panel”)

c.

get element by name(“panel”)

d.

get element by id(“panel”)

Answer: (d).get element by id(“panel”)

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following returns a reference of an element having the id “panel”?

Similar Questions

Discover Related MCQs

Q. Which of the following is not a valid argument of the insert adjacent text() method?

Q. Which of the following is not a property of the document object?

Q. What property is used to redirect a visitor to another page?

Q. What is the name of the event that occurs when a user leaves an object?

Q. DOM represents a document as a

Q. Which of the following is not an attribute of the <form> element?

Q. Which of the following attributes of the <form> element specifies the URL to be loaded when the form is submitted?

Q. Which of the following Is not a <form> element?

Q. What is the full form of TDC?

Q. Which of the following attributes of the <script> tag refers to an external java script source file?

Q. Which of the following creates the <script> element?

Q. What is the full form of DHTML?

Q. Which of the following events occurs when a form is submitted?

Q. Which of the following functions is used to submit a form using java script?

Q. What is the value of the ready state property of the <script> element when the script is completely loaded?

Q. Which of the following is true?

Q. Which of the following is not a valid of the position attribute?

Q. Which of the following parameter of the insert adjacent HTML function does not effect the context element?

Q. Which of the following elements is used to create a form?

Q. Which of the following tags is used to create table headers?