<h1>Posts Under <?php single_tag_title(); ?> </h1>
single_tag_title()
<h1>Posts Under <?php single_cat_title(); ?> </h1>
single_cat_title()