1.

State whether the following statements about inserting element content as plain text are True or False. i) The textContent and innerText properties are similar enough that we can usually use them interchangeably.ii) innerText is treated as a read-only property for certain table elements such as , and iii) The textContent property is a straightforward concatenation of all Text node descendants of the specified element.

A. i-True, ii-True, iii-False
B. i-True, ii-False, iii-False
C. i-True, ii-True, iii-True
D. i-False, ii-False, iii-True
Answer» D. i-False, ii-False, iii-True


Discussion

No Comment Found