how to write styles in html code example Example: how to style in html file <p style="text-align: center; color: pink;">Hello World</p>