Q.

If para1 is the DOM object for a paragraph, what is the correct syntax to change the text within the paragraph?

A. "New Text"?
B. para1.value="New Text";
C. para1.innerText = "New Text
D. para1.nodeValue="New Text";
Answer» C. para1.innerText = "New Text
1.5k
1
Do you find this helpful?
14

View all MCQs in

Web Technology

Discussion

B

BMRubel
2 years ago

the answer is false
0