rocket

html styles properties tutorial

  • Web html, css, javascript, php, python, sql, jquery, xml, ajax, bootstrap.
  • Online web design, along with everything you need for a complete website.

html styles properties tutorial,The HTML style attribute is used to add styles to an element, such as color, font, size, and more.

            16

top
demo

I am color Red

I am color Green

I am font Big

html Background Color

The CSS background-color property defines the background color for an HTML element.


 <body style="background-color:#252321;">
 <h2>test</h2>
 <p>test</p>
</body>

 <body>

<h2 style="background-color:#252321;">test1</h2>
<p style="background-color:#252321;">test1</p>

</body> 

html Text Color

The CSS color property defines the text color for an HTML element:


 <h2 style="color:red;">test2</h2>
<p style="color:green;">test2</p> 

html Fonts

The CSS font-family property defines the font to be used for an HTML element:


 <h2 style="font-family:verdana;">test3</h2>
<p style="font-family:courier;">test3</p> 

html Text Size

The CSS font-size property defines the text size for an HTML element:


 <h2 style="font-size:300%;"> test4</h2> 
<p style="font-size:160%;"> test4</p>  

html Text Alignment

The CSS text-align property defines the horizontal text alignment for an HTML element:


 <h2 style="text-align:center;"> Centered test5</h2> 
<p style="text-align:center;"> Centered test5</p>  
Chapter Summary

Skills assessment. Although the years working on a skill can provide an indication of maturity and expertise gained, this alone is not enough. Different people have different levels of gaining knowledge and expertise and there are people that have a natural inclination to some specific skills.

HTML5
100%
CSS3
100%
JAVASCRIPT
100%
PHP
100%
JQUERY
100%
WORDPRESS
100%
SQL
100%
XML
100%
DESIGN & DEVELOPMENT
⭐⭐⭐⭐⭐  Best Seller
100%
PHOTO MAKER
100%
PHOTOSHOP
100%
SEO
100%