Get ElementById() ,get ElemenyByTagname()
1
Take copy of Guhan
Take separate words from paragraph
<p id ="data"> GUhan </p>
document.getElementById("data").innerHTML
2
By value
Take text from browser which is already typed in browser
<input id ="data"> ...
🛡️ VERIFIED CYBER INTELLIGENCE ID: #3105132