How to Insert background image in HTML




Inserting background image in HTML


                      In this tutorial the we learn how to insert background image in HTML .                      For inserting background image we need <body background="....."> tag.                      The background image and html file is in the same folder.                                            Let's try it.


            Step : 1

                      Open your notepad and type the following code.
                    
                      <html>
                      <head><title>inserting background</title>
                      <body background="your picture source">
                      <center>
                      <h1>TechCoolz</h1>
                     </center>
                     </head>
                     </html>

           Step : 2

                   Save file as extension .html 

          Step : 3

                  Open the html file 

                                                                       its simple
    

Comments

Popular Posts