# Blog Tag Cloud

**URL:** <https://community.hubspot.com/t/blog-tag-cloud/31769>\
**Category:** CMS Development\
**Created:** [February 14, 2021, 7:36pm UTC](https://community.hubspot.com/t/blog-tag-cloud/31769 "2021-02-14T19:36:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![webwarriors](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/webwarriors/32/66085_2.png) [@webwarriors](https://community.hubspot.com/u/webwarriors)\
**Post date:** [February 14, 2021, 7:36pm UTC](https://community.hubspot.com/t/blog-tag-cloud/31769/1 "2021-02-14T19:36:07Z")

</div>

Hi there,

We’re wanting to create a tag cloud for blogs. Does anyone know how to even get started with something like this?

Cheers

---

<div class="post-metadata">

**Author:** ![webwarriors](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/webwarriors/32/66085_2.png) [@webwarriors](https://community.hubspot.com/u/webwarriors)\
**Post date:** [February 14, 2021, 8:08pm UTC](https://community.hubspot.com/t/blog-tag-cloud/31769/2 "2021-02-14T20:08:15Z")

</div>

Actually, I think I may have found a solution:

\<div id=“tag-cloud”\>  
\<h3\>Tags\</h3\>  
{% set my\_tags = blog\_tags(‘default’, 10000) %}  
\<ul class=“cloud” role=“navigation” aria-label=“Ucidity tag cloud”\>  
{% for item in my\_tags %}  
\<li\>\<a data-weight=“{{item.live\_posts}}” href=“{{ blog\_tag\_url(group.id, item.slug) }}”\>{{ item }} ({{item.live\_posts}})\</a\>\</li\>  
{% endfor %}  
\</ul\>  
\</div\>

With some CSS thrown over the top:

> **[Create a tag cloud with HTML and CSS](https://dev.to/alvaromontoro/create-a-tag-cloud-with-html-and-css-1e90)**
>
> Tutorial on how to create a tag cloud with HTML and CSS, no JavaScript needed.

---

<div class="post-metadata">

**Author:** ![RandyMilanovic](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/randymilanovic/32/102428_2.png) [@RandyMilanovic](https://community.hubspot.com/u/RandyMilanovic)\
**Post date:** [June 8, 2021, 9:01pm UTC](https://community.hubspot.com/t/blog-tag-cloud/31769/3 "2021-06-08T21:01:28Z")

</div>

Works like a charm. Thanks.

---

<div class="post-metadata">

**Author:** ![webwarriors](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/webwarriors/32/66085_2.png) [@webwarriors](https://community.hubspot.com/u/webwarriors)\
**Post date:** [June 9, 2021, 10:58pm UTC](https://community.hubspot.com/t/blog-tag-cloud/31769/4 "2021-06-09T22:58:06Z")

</div>

Thanks Randy - glad we could help!
