Issue
Above mentioned is my css file
<html xmlns="https://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>My static web Page</title>
<link type="text/css" rel="stylesheet" href="css1.css"/>
</head>
<body>
<div class="container">
<div class="wrapper">
<div>
<img src="img.png" width="400" height="400" ></img>
</div>
</div>
</div>
<div class="dark">
<div class="wrapper" id="top_div">
<h2>The Origin</h2>
</div>
</div>
<div class="container">
<div class="wrapper" id="top_div">
This is my styled paragraph
</div>
</div>
</body>
</html>
It shows just the image icon and no image is seen on browser. I have pasted the image in a folder inside the project directory. What is the correct way to add an image, please explain.
Solution
Be sure you have the right path (eg: relative ./your_file.png
<div>
<img src="./img.png" width="400" height="400" ></img>>
</div>
Answered By - ScaisEdge
Answer Checked By - Mildred Charles (JavaFixing Admin)