Using the style attribute, you can design or you can set the color, width, height, font, and many more in your HTML element. Let's understand by example.


<tagname style="property:value;">


 <p style="
           color: red;
           font-size: 22px;
           font-weight: bold;
           /*you can add much more if you know css*/
            HTML Styles attribute

/*This is CSS comment*/


HTML Styles attribute

Are you facing problems in understanding this article?

Download Source