I have this bit of HTML.
<h4><a href="#">MERN-Shopping-List</a></h4>
If we disregard the #
because I know that any link put in there will just result in me being able to click anywhere on the page and go to it, which is not what I want to achieve.
This bit of HTML is inside this:
<div class="row align-items-center no-gutters mb-4 mb-lg-5">
<div class="col-xl-8 col-lg-7">
<img class="img-fluid mb-3 mb-lg-0" src="img/mern.png" alt="">
</div>
<div class="col-xl-4 col-lg-5">
<div class="featured-text text-center text-lg-left">
<h4><a href="#">MERN-Shopping-List</a></h4>
<p class="text-black-50 mb-0">This application allows you to register, log in, and log out users and be able to add and delete items to the list. This shopping list was built with the MERN stack with Redux.</p>
</div>
</div>
</div>
I have put the anchor tag inside of the proper h4
tag, so why am I allowed to click anywhere and still be able to go to that link?
I have other h4
tags that need separate links attached to them as well.
`. Which is what you wanted, correct?
– Kelvin May 11 '19 at 08:18