My HTML code for Embedding the images has worked for the code you have given in the class embedding images. But i am not able to embedde different image in the folder in which i have saved my html file and also given the extension of image as .jpg along with image name. How should i embedde the different image ??
Please show the image of your code
1.Download any different image and save it in the folder containing html file with the extension .jpg …say (image2.jpg).
Note: Select your file types as jpeg while saving .And save it in the same folder as your html file …else you would have to specify the path.
2.In your html file use the code
You 'll get the image on your webpage
Apply css for formatting
Hope this helped !!
If your image is in a different folder, then you have to provide the full pathname instead of just filename.
Hi, if you are trying to embed an image which you have downloaded from the internet into your code, then you first have to save the downloaded image in the folder in which you have saved your html file and then you put the image name with proper extension and try to run the code.
I hope you will be able to see the specified image in the output.
Okay I will try this