<li> <form action="../Connections/kiler.php" method="POST"> <button type="submit" name="logout" style="background: none; border: none; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer;"> Salir </button> </form> </li> <li> <a href="" target="_self"> <form action="../../../Connections/kiler.php" method="POST"> <button type="submit" name="logout" style="background: none; border: none; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer;"> <i class="fa fa-power-off" aria-hidden="true"></i> <span id="salirSpan">Salir</span> </button> </form> </a> </li>