css html innertext size code example Example: change innertext javascript element.innerText = "Hello World";