Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript change all text color

var all = document.getElementsByTagName("*");

for (var i=0, max=all.length; i < max; i++) {
 all[i].style.color = "red";
}
 
PREVIOUS NEXT
Tagged: #javascript #change #text #color
ADD COMMENT
Topic
Name
3+5 =