Style tag in HTML

Style tag in HTML

In this article, how your changes such as color, font, size, and more Style your web text with this online font CSS generator. Set the desired style for your text in the control panel and get your code instantly.

Set the background color for a page 


<h1 style="background-color:red;">Heading</h1>
<p style="background-color:blue;">This is a paragraph.</p>

<body style="background-color:blue;">



Font Size

<h1 style="font-size:200%;">heading</h1>
<p style="font-size:250%;">paragraph.</p>

Text Alignment

<p style="text-align:center;">Center</p>
<h1 style="text-align:center;">Center</h1>