I'm trying to put a link to another page of my website inside this button I've made using CSS. However, the button already has formatted text in it and the link apparently only works when I use text inside the <a></a> tags. Any ideas how I can just make the entire button a clickable link? Here's the offending code:
<nav>
<p class="button"><a href="pictures.htm"></a>Pictures of our destinations</p>
<p class="button">Prices for flights, hotels and all in one deals</p>
<p class="button">Today's deals</p>
<p class="button">Contact us!</p>
<p class="button">Sign up for an account</p>
</nav>
As that code stands, the link does not work and there is no clickable area. However, moving the text from the <p> tags to the <a> tags makes the link work, but my CSS formatting doesn't apply to it then.
<p>tag and simply style the<a>tag directly. The wrapping tag seems unecessary.