Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript changing the color of an html element

	var element = document.getElementById("myElement");
	element.style.color = "#FF0000";
 
PREVIOUS NEXT
Tagged: #JavaScript #changing #color #html #element
ADD COMMENT
Topic
Name
8+5 =