adplus-dvertising
frame-decoration

Question

Which of the following creates the <script> element?

a.

document.createScript(‘script);

b.

document.createScript();

c.

document.createElement(‘script’);

d.

document.createScriptElement(‘script’);

Answer: (c).document.createElement(‘script’);

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 creates the <script> element?

Similar Questions

Discover Related MCQs

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?

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

Q. Regarding java script, which of the following is true?

Q. Client – side scripting is about “programming” the behaviour of the

Q. Which of the following functions is used to create a regular expressions?

Q. Which of the following flags is invalid?

Q. Which of the following regular expression engines is used by java script?

Q. Which of the following is not a function of string?

Q. Which of the following is a function of regular expression?

Q. Which of the following is not a meta character?

Q. Which of the following is a meta character?

Q. Which of the following represents an optional occurrence indicator?