# HTML style

В настоящее время поддерживаются следующие теги:

{% code fullWidth="true" %}

```html
<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>
<a href="tg://user?id=123456789">inline mention of a user</a>
<tg-emoji emoji-id="5368324170671202286">👍</tg-emoji>
<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>
<blockquote>Block quotation started\nBlock quotation continued\nThe last line of the block quotation</blockquote>
<blockquote expandable>Expandable block quotation started\nExpandable block quotation continued\nExpandable block quotation continued\nHidden by default part of the block quotation started\nExpandable block quotation continued\nThe last line of the block quotation</blockquote>
```

{% endcode %}

Пожалуйста, обратите внимание:

* В настоящее время поддерживаются только теги, упомянутые выше.
* Все символы `<`, `>` и `&`, которые не являются частью тега или HTML-объекта, должны быть заменены соответствующими HTML-объектами (`<` на `&lt;`, `>` на `&gt;` и `&` на `&amp;`).
* Поддерживаются все HTML Entity Number.
* В настоящее время API поддерживает только следующие именованные HTML-объекты: `&lt;`, `&gt;`, `&amp;` и `&quot;`.
* Используйте вложенные теги `pre` и `code`, чтобы определить язык программирования для объекта `pre`.
* Язык программирования не может быть указан отдельно тегом `code`.
* В качестве содержимого тега `tg-emoji` должен использоваться допустимый смайлик. Эмодзи будет отображаться вместо пользовательского эмодзи в тех местах, где пользовательский эмодзи не может быть отображен (например, в системных уведомлениях) или если сообщение переадресовано пользователем, не являющимся пользователем премиум-класса. Рекомендуется использовать **эмодзи** из поля "эмодзи" пользовательского [стикера](https://core.telegram.org/bots/api#sticker) с эмодзи.
* Пользовательские эмодзи-объекты могут использоваться только ботами, которые приобрели дополнительные имена пользователей на [Fragment](https://fragment.com/).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.morozovpimnev.ru/telegram-bot-v2/html-style.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
