Not getting the image on the webpage even the image is in the same folder where the HTML file exists!
 of the image in the src feild.
Check the syntax below if you have added the file from your pc
<html>
<body>
<img src="D:\S6\CV.png">
<!-- <img src="pathname.format "> -->
</body>
</html>
Hi @shaikmustaqm169
Here are the following steps you can do to embed an image to the webpage
1.Create a folder. Make sure that the html file and the image are on the same folder.
2. The syntax for embedding image is
3.Here is a pic of the simple code i have done
4.After that , save using control+S
5.Open the file in chrome using control+o and then select the html file.
6.Here is an example of mine.
Hi @shaikmustaqm169,
From the above image I can see that in the “img” tag you have misspelled the attribute “src” with “scr”.
You need to make the correction here:-
You should also make sure that your image file is in the same directory as your html file.
I hope that I was able to help you.
For more reference you can use the links:-
In img tag we use src attribute that defines the path of the image
The output is