on click div html redirect page code example
Example: javascript onclick to another page div
<div onclick="window.location.href = 'http://example.com';">Click this div to get redirected.</div>
<div onclick="window.location.href = 'http://example.com';">Click this div to get redirected.</div>