Articles on: Post Options

How to style Telegram text using HTML tags

The following HTML tags are currently supported for Telegram:

<b>bold</b>, <strong>bold</strong>
<i>italic</i>, <em>italic</em>
<u>underline</u>, <ins>underline</ins>
<s>strikethrough</s>, <strike>strikethrough</strike>, <del>strikethrough</del>
<span class="tg-spoiler">spoiler</span>, <tg-spoiler>spoiler</tg-spoiler>
<b>bold <i>italic bold <s>italic bold strikethrough <span class="tg-spoiler">italic bold strikethrough spoiler</span></s> <u>underline italic bold</u></i> bold</b>
<a href="http://www.example.com/">inline URL</a>
<code>inline fixed-width code</code>
<pre>pre-formatted fixed-width code block</pre>
<pre><code class="language-python">pre-formatted fixed-width code block written in the Python programming language</code></pre>


Example



The following post in Publer

Using HTML tags works only for Telegram

Will look like this in Telegram



Tips & warnings



You can always preview how your message will look on Telegram beforehand.

Make sure you only use a supported HTML tag from the list above. Using an unsupported HTML tag will prevent the post from getting published.

Don't have an account on Publer?
Publer makes it easy to create, schedule and manage content that generates results.Join 480K+ social media managers, marketing agencies, and global brands.Join Publer today!

Updated on: 31/12/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!