Add html code to a content block
You can always create a block in your module. You'll need hook_block_info, hook_block_view. 

Example:

function hook_block_info() {
// This example comes from node.module.
$blocks['syndicate'] = array(
'info' =&gt; t('Syndicate'),
'cache' =&gt; DRUPAL_NO_CACHE,
);

return $blocks;
}


Then in hook_block_view:

function hook_block_view($delta = '') {
// This example is adapted from node.module.
$block = array();

switch ($delta) {
  case 'syndicate':
    $block['subject'] = t('Syndicate');
    $block['content'] = myfunction();
    );
    break;
 }
  return $block;
 }


Then you just need to return what ever out put you want in myfunction, and you should be set. Check out the links for more info, full block api is also here.