HTML css

HTML  CSS

CSS stands for cascading style sheets. 
CSS defined how HTML element are displayed by the style sheets on screen. 


CSS can be add to HTML 3 attributes ways: -
  • Inline-use for the style attributes. 
  • Internal-use for a <style> element in a <head> section. 
  • External-use for external files. 


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

<h1>This is a heading.</h1>

<p>This is a paragraph.</p>

</body>

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