Which of the below java script code helps to change the content of the paragraph tag dynamically? <p id="pid1">Aim Higher.. Sky is your limit
Answer options
A
document.getElementById("pid1").innerHTML = "Never give up!!";
B
Incorrect option A
C
Incorrect option B
D
Incorrect option C
Correct answer: document.getElementById("pid1").innerHTML = "Never give up!!";
Explanation
The correct answer is: document.getElementById("pid1").innerHTML = "Never give up!!";.