Everything about style is described in detail in this page. The style attribute is :
< tagname style = "styleproperty:value
There are many advantages of style tag in HTML because it make the things in a page very attractive and caused to increase the interest of the user toward your page. Actully the style property and value is css . In CSS3 course we will learn it with detail.
Syntax of style attribute
<tagname style="styleproperty: value"> .... </tagname>
Different properties used in style attribute.
styleattribute for styling HTML elements
background-colorfor background color
colorfor text colors
font-familyfor text fonts
font-size fortext sizes
text-alignfor text alignment
Explore more about attributes in our CSS3 course and get more knowlege.
If you have any query, if you want to know something about any of technical course related to computer science field, if you have any suggestion about relevant to uploaded content or if you anything wrong here (any mistake in content) than please contact us. Keep in mind, comment should be according to community guidelines.