Styling in HTML

Everything about style is described in detail in this page. The style attribute is :
< tagname style = "styleproperty:value ">     ....     </tagname> .   
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.

  • style    attribute for styling HTML elements
  • background-color    for background color
  • color    for text colors
  • font-family    for text fonts
  • font-size for    text sizes
  • text-align    for text alignment

Explore more about attributes in our CSS3 course and get more knowlege.

The Best

Comment here

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.