Html styles

 HTML STYLE


<p>This is sathish</p><p style="color:blue;">this is sathish</p>

<p style="color:red;">this is sathish</p>

<p  style="color:green;">this is sathish</p>

<style="font-size;">this is sathish</p>

--Try this yourself--

          StylAttribute

    The style oh Html code is useful for the styling of web pages. We see some Websites
that have design of background colors and body design and arrangements of navigation bar. Due to the style attributes. It is useful for get more audience. So we used style attributes. 



          Style color

   Style color is useful for text color. When they content write text color is very important. So we use style color elements such that
In body:

      <body style="color:blue;"><body style="color:green;"><body style="color:red;">

Headings

<h1 style="color:red;"><h2 style="color:red;"><h3 style="color:red;"><h4 style="color:red;"><h5 style="color:red;"><h6 style="color:red;">


   Background-color   

Background color is useful for the add color to background of the body and custiomize theme. Background color is know as a bg-color also. Background color add the body, title of the blogger or website, header, navigation bar,etc... Let's see the how to add those elements. 

               Body
<body style="background-color:red;">
<body style="background-color:green;">
<body style="background-color:blue;">
<body style="background-color:grey;">
 Paragraph and headings
    <p style="background-color:red;">
 <h1 style="background-color:red;">
<p style="background-color:red;">
<h2 style="background-color:red;">

         Navigation

<nav style="background-color:red;">

  Chapter summary

  • Style attributes. 
  • <color:red;> this is a color of style into the body or header. 
  •   <p style="color:red;"> this is a style color in paragraph. 
  •   <body style="color:green;"this is a style in body.  
  • <p style="background-color:green;">this is a style of background-color paragraph element. 
  •   <body style="background-color:red;">this is a background-color style of body. 

              Font 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