CSS fonts

The css color property defined used to text color. 
The Css font-family property used to text style. 
The Css font-size property use to text size. 

<style>
    h1  {
            Color: blue;
          Font-family: verdana;
           Font-size: 300%;
}
   p  {
            Color: red;
          Font-family: verdana;
           Font-size: 300%;
}
</style>
CSS border

Border around the HTML element. 

<style>

 h1  {

                 border: 3px solid green;
}
    p  {
                 border: 3px solid green;
}
</style>

CSS padding 

Padding is a space between the text and border. 
    <style>
  h1  {
                 border: 3px solid green;
                Padding: 8px;
}
    p  {
                 border: 3px solid green;
                Padding: 8px;
}
</style>

Sathish Dhuda

Phasellus facilisis convallis metus, ut imperdiet augue auctor nec. Duis at velit id augue lobortis porta. Sed varius, enim accumsan aliquam tincidunt, tortor urna vulputate quam, eget finibus urna est in augue.

No comments:

Post a Comment