Inserting a link to a different page

<div>
	<a>
		<img src="/job/12.jpg" alt=""/>
		<a href="../login.php" title="Log in"> abc</a>
                                      
		
		<a href="images/fulls/02.jpg">
		<img src="images/thumbs/02.jpg" alt="" />
		<h3>BBBBBBBBB</h3>
	</a>
</div>

Now you have two links nested inside another (one of which isn’t closed properly). That makes no sense. You need to check your code in the validator https://validator.w3.org and fix the issues. You can’t expect broken code to work.