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