Tuesday, 27 December 2011

HTML CODING

                                                 HTML CODING 


1.  HTML Document :




.  



2.Back ground Color:

                      <html>
                          <head>
                                <title>red screen</title>
                                      <body BGCOLOR="RED">
                                        </body>
                       </html>
Out put:



   


  (    If you want to see in full view just click image  )                                   
  ------------------------------------------------------------                             


3.Margin



              <html>
              <head>
               <title>RAJ</title>
                 </head>
               <body leftmargin="60">
     This document  60 pixels from the left hand side                                       
        of the page
                 </body>
               </html>
Output:


(    If you want to see in full view just click image  )  


4.Bold and Underline and Italic
      
                      
                            <b>Bold</b>
                             <u>underline</u>
                            <i>italic</i>


Output:
         
                 

5.Headings  
   
             <html>
<head>
              <title>Raj</title>
</head>
              <body>
                           <h1>Madurai</h1>
                           <h2>South gate</h2>
</html>


output:
            
                 


(    If you want to see in full view just click image  )  








5.paragraphs:    


       <html>
          <head>
       <title>Raj</title>
    </head>
            <body>
<p>A computer is an electronic device, which executes software programs. It is made up of two parts - hardware and software . The computer processes input through input devices like mouse and keyboard. The computer displays output through output devices like a monitor and printer. The size of a computer varies considerably from small personal computers to gigantic supercomputers which require an entire building to host them. The speed of computers also has a very large range. Computers have become indispensable in today's world. Let us take a look at some of the uses of computers.
 </p>
</body>
</html>

 
output:


                  
6.Line Breaks:


<html>
<head>
<title>Raj</title>
</head>
<body>
<p>A computer is an electronic device, which executes software programs. It is made up of two parts - hardware and software . The computer processes input through input devices like mouse and keyboard. The computer displays output through output devices like a monitor and printer. The size of a computer varies considerably from small personal computers to gigantic supercomputers which require an entire building to host them. The speed of computers also has a very large range. Computers have become indispensable in today's world. Let us take a look at some of the uses of computers.
 </p>
<hr>
</body>
</html> 


                 

7.Break:

          <html>
<head>
              <title>Raj</title>
</head>
              <body>


<p>A computer is an electronic device, which 


executes software programs. It is made up of two 


parts - hardware and software .<br></br> The 


computer processes input through input devices 


like mouse and keyboard. <br></br>The computer 


displays output through output devices like a 


monitor and printer. <br></br>The size of a 


computer varies considerably from small personal 


computers to gigantic supercomputers which 


require an entire building to host them. The speed 


of computers also has a very large range. 


Computers have become indispensable in today's 


world. <br></br>Let us take a look at some of the 


uses of computers.
 </p>
<hr>
</body>
</html>




               </body>
</html>