how to make a whole div as clickable code example Example: make div clickable <div onclick="location.href='#';" style="cursor: pointer;"> </div>