Navbar

Monday 14 August 2017

CSS Tutorial For Beginners CSS Image






CSS Image 
In this post,we will learn about css image that how to insert image with the help of css script.
So image can be also inserted on webpage with the help of <img> tag in HTML document and you can also add image on your webpage with the help of css script.

Note : If you want to learn CSS in detail and deep so please visit to given link and SUBSCRIBE to our channel, where you will get videos related to HTML,CSS,JAVA,JAVASCRIPT,PL/SQL and many more different technology in easy and simple way of explaining technic.

If you want to add background image then you should use this kind of css script : 
      background-image: url(image_name.gif);

1. Here one thing should be note that if you have image in same folder where your html document exist then you should use css image insert technique as follow: 
         background-image: url(image_name.gif);


2. If you have image on seperate folder or any other location/path then you have to paste the location of your image inside url(image_path/image_name.jpg);

Example : 
   <html>
       <head>
          <style>
               body{
                           background-image: url(image_path/image_name.gif);
                          }
          </style>
       </head>
       <body>
                <p>This is the main body<p>
       </body>
   </html>
      

For learn more in detail about CSS image insertion technique please watch the below video: 
     Don't forget to SUBSCRIBE please.



No comments:

Post a Comment

Share your views after read this post