Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript change paragraph text

let element = document.getElementsByTagName("p");
element.innerText = "Hello World!";
 
PREVIOUS NEXT
Tagged: #javascript #change #paragraph #text
ADD COMMENT
Topic
Name
4+1 =