You work as a senior developer at ABC.com. The ABC.com network consists of a single domain named ABC.com. ABC.com makes use of HTML and CSS3 in their development process.
You have been instructed to alter the text value of an HTML element. You are planning to make use of the innerHTML property. Which of the following is TRUE with regards to the innerHTML property? (Choose all that apply.)
Select all that apply, then click Submit answer.
-
○
It is valid for both block and inline elements.
-
○
It is inaccessible at run time as the document is being parsed.
-
○
When the innerHTML property is set, the given string completely replaces the existing content of the object.
-
○
When using innerHTML to insert script, you must exclude the defer attribute from the script element.