change html color throught atrtribute code example Example: how to color in html <h1 style="color: red;">Hello</h1>