Make a div clickable using a render array What is the (best) way to make a div clickable using a render array in code? 

I am creating a module that outputs a title in a rounded box, so I use the markup type and specify a class with #prefix and #suffix and apply some css on that class. This gets me a box, but I want to make the box clickable with a different url for each box. What would be a good way to do this?

I could put an onclick in the prefix or put  in the prefix and  in the suffix. But both are not very pretty.

I'm using Drupal 7 and would like not to use additional modules like views.
It sounds like you want to create an Accordion, I would look at Views Accordion because it sounds like what you want. I would try to stay away from custom javascript and html and attempt to theme views_accordion as you want it to look.