+ 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
5 ответов
+ 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
+ 1
you need to add the image in the same file that you have your html code stored in.
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
0
You can also add by FILEPATH
0
just give the filepath of the picture