styles inline code example Example 1: how to write css in html <p style="color: blue; font-size: 46px;"> Example 2: html inline style <element style="css">