This text will turn red using JavaScript.
Use setAttribute("color", ...) on legacy elements, or style.color for modern CSS styling.
setAttribute("color", ...)
style.color
Lines: 0 | Characters: 0