What is the danger of using the document.write() method?

(1 point)
Responses

It is less secure than getting the element by its ID.

It is less secure than getting the element by its ID.

It will delete all of the HTML content on the page.

It will delete all of the HTML content on the page.

It is really slow, so it frustrates users.

It is really slow, so it frustrates users.

It replaces the HTML file with whatever is in the write() method.

1 answer

It replaces the HTML file with whatever is in the write() method.
Similar Questions
  1. What is the danger of using the document.write() method?(1 point) It is less secure than getting the element by its ID. It will
    1. answers icon 1 answer
  2. What is the danger of using the document.write() method?It is less secure than getting the element by its ID. It will delete all
    1. answers icon 1 answer
  3. What is the danger of using the document.write() method?It is less secure than getting the element by its ID. It will delete all
    1. answers icon 1 answer
    1. answers icon 1 answer
more similar questions