HTML Styles



The HTML style property is utilized to add styles to a component, like tone, text style, size, and that's just the beginning.

<!DOCTYPE html>

<html>

    <body>

          <p>I am normal</p>

          <p style="color:red;">I am red</p>

         <p style="color:blue;">I am blue</p>

         <p style="font-size:50px;">I am big</p>

    </body>

</html>

The HTML Style Property

Setting the style of a HTML component, should be possible with the style property.

The HTML style trait has the accompanying linguistic structure:

<tagname style="property:value;">

Post a Comment

0 Comments