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