I have been trying to understand what is happening for half an hour, why is the icon not displayed on the page? I already converted the image to ICO here https://convertico.com/jpg-to-ico/ And it still doesn't work, someone help me please, thanks
<?php
include_once "include/header.php";
include_once "include/estilos.css"; ?>
<!DOCTYPE html>
<html lang="es" dir="ltr">
<head>
<meta charset="utf-8">
<title>DEP</title>
<link rel="icon" href="img/iidd.ico">
</head>
<body>
<div>
<img src="img/iidd.jpg">
<h1 id="Texto">Hola</h1>
<?php
include_once "include/footer.php";
?>
</div>
</body>
</html>
I managed to solve it, I don't know why if I had already done this it didn't work for me, the problem was the php header, but I had already tried this before (Deleting the includes) And it didn't work for me, it worked for me when, instead of using an extension ico, I used a png, however, I used the ico again and it worked, I don't know what it was, my solution was to move the include/header.php to the body, inside a tag Inside the header there were only lists, 2 images and a couple of hrefs, and little else