I always have this doubt, just look:
I have a menu, with ul and li:
<ul>
<li><a href="/inicio">Inicio</a></li>
<li><a href="/sobre">Sobre</a></li>
<li><a href="/contato">Contato</a></li>
</ul>
How do I, when I place or click on li
the a
link to work? Because, for example, it only works if I click on a
, but if I click outside, in this case, in li
, it does not work, the a
link does not activate.