I did something similar in the past project and this is my solution. I hope this is what you want.
<ul class="inline-list">
<?php
query_posts('category_name=lain-lain');
if (have_posts()) : while (have_posts()) : the_post();
if ( get_the_tag_list() ) :
$count = 0;
foreach ( get_tags() as $value ) {
if ( $count>=10 )
break;
$output .= '<li><a href="http://example.com/tag/'.strtolower( $value->name )."https://wordpress.stackexchange.com/">'.ucfirst( $value->name ).'</a></li>';
$count++;
}
echo $output;
endif;
endwhile; endif;
wp_reset_query();
?>
</ul>