+ 3

how can i add an image on webpage? I know the coding for image but how can it display on webpage. do i need to upload an image

15th Aug 2016, 3:07 PM
vipan rana
5 odpowiedzi
+ 3
You have to check the image file format and file path.. <IMG SRC="foldername/imagename.format(JPG,PNG,jpeg,gif)" alt="abc" /> For example :- <IMG SRC="images/contact.png" alt="abc" /> Only you have to check that you have given prper path and image name or not. if you still have problem then ask me freely. thanks
15th Aug 2016, 7:46 PM
Aman gupta
Aman gupta - avatar
+ 1
you need to add the image in the same file that you have your html code stored in.
15th Aug 2016, 4:27 PM
Louis Gabrie
Louis Gabrie - avatar
0
First you need to decide where your image will be "hosted" (where it is stored). examples: Local machine or web server? You can use an image host service such as Imgur or Photobucket and use the URL to point your code to the image location. If you are working with an HTML file and using local offline files, you could just point your image to the location in your machine. Note that these offline files would only be accesesible by you
15th Aug 2016, 4:33 PM
Rubalu
Rubalu - avatar
0
You can also add by FILEPATH
16th Aug 2016, 12:44 AM
Kanishka Tyagi
Kanishka Tyagi - avatar
0
just give the filepath of the picture
18th Aug 2016, 2:57 PM
Hanizam Onesevensix
Hanizam Onesevensix - avatar