element dom javascript code example Example: javascript dom elements document.GetElementById("Id").innerHTML = "Text..."