how to get innertext of element in css code example Example: change innertext javascript element.innerText = "Hello World";