To make an element, for example a <div>, clickable in HTML, you can use the following code:
<div onclick="location.href='#';" style="cursor: pointer;"> </div>
We simply add the onlcick event and add a location to it. Then, additionally and optionally, we add a cursor: pointer to indicate to the user the div is clickable. This will make the whole div clickable.