Preview:
<!-- Get all tags displayed -->
    <nav class="all-tags">
        <ul>
            <?php
                $tags = get_tags('post_tag'); //taxonomy=post_tag
        
                if ( $tags ) :
                foreach ( $tags as $tag ) : ?>
                    <li class="tags">
                        <a href="<?php echo esc_url( get_tag_link( $tag->term_id ) ); ?>" 							title="<?php echo esc_attr( $tag->name ); ?>">
                        <?php echo esc_html( $tag->name ); ?>
                        </a>
                    </li>
                <?php endforeach; ?>
            <?php endif; ?>
        </ul>
    </nav>
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter