The images included in the welcome.htm
file display correctly, while those in the readme.htm
don’t. The same happens with the stylesheet, whose styles are correctly used in the welcome.htm
file, while those in the readme.htm
file are not. The code is the same for both files, except for the file location, as the welcome.htm
file is situated within the welcome
folder. Here below the salient lines of the two files:
File: welcome.htm
<head>
<link rel="stylesheet" type="text/css" href="styles.css">
</head>
<body>
<img src="flag.png">
</body>
File: readme.htm
<head>
<link rel="stylesheet" type="text/css" href="welcome/styles.css">
</head>
<body>
<img src="welcome/flag.png">
</body>
Thanks
2 posts - 2 participants