Quick tabs module change title to bottom
I would recommend you to start by downloading the excellent devel_themer module from Drupal.org and install it on your site. It will also require that you install the devel module.

Once you install it and enable it, devel_themer will tell you what template (*.tpl.php) is being used. You can then go to that template and alter the order of the HTML elements directly. You will also find devel_themer to be a great tool for learning Drupal theming.