image for site

Handling Unknown HTML in Zendesk Help Center Articles

Find out how Zendesk processes unknown HTML elements in help center articles and content blocks.

How does Zendesk handle unknown HTML in help center articles?

Zendesk treats unsupported HTML elements as unknown and handles them differently based on the context.

For help center articles, unknown HTML tags are removed, and their content is placed within a paragraph element. For content blocks, unsupported content is wrapped in an HTML block, allowing you to edit it separately. This ensures that unsupported elements do not disrupt the rendering of your articles. For example, an unknown tag like<mytag>Hello world!</mytag>would be rendered as<p>Hello world!</p>in the help center.


More related questions

How can I edit the source code of Zendesk help center articles?

To edit the source code of your Zendesk help center articles, you can use the source code editor. This tool allows you to customize and style your articles beyond the capabilities of the standard WYSIWYG editor. To get started, navigate to the help…

What is the 'Clean up styles' feature in Zendesk's source code editor?

The 'Clean up styles' feature in Zendesk's source code editor helps you remove unwanted inline styles from your article's HTML. When you copy and paste content from an HTML page, it might bring along unnecessary styles that clutter your article. By…

What HTML elements are considered unsafe in Zendesk help center articles?

In Zendesk help center articles, certain HTML elements are considered unsafe and are excluded from rendering. Unsafe elements include applet, button, embed, form, input, object, script, textarea, and style. These elements are not removed from the…

How can I style HTML in Zendesk help center articles?

Styling HTML in Zendesk help center articles is best done using CSS classes defined in your help center theme. Zendesk recommends using the class attribute for styling, as it is more maintainable than inline styles. Avoid using nested selectors and…

What are the important considerations when editing source code in Zendesk?

When editing source code in Zendesk, there are several important considerations to keep in mind. Firstly, Zendesk automatically removes most empty container elements, like<i>or<span>, unless they contain content. However, empty<p>tags…

Interested indeflectingover 70% of your Zendesk support tickets?

Our AI customer support agent is here to help. Trained on all your help docs, installed directly into your Zendesk account, it can be used to automate customer replies for tickets or live chat. Learn more below.
Zendesk logo

Zendesk Support Tickets

Receive new tickets by email or a support form? This integration is for you.
My AskAI integrated within Zendesk to deflect support tickets
Learn about our Zendesk ticket integration
Zendesk logo

Zendesk Messaging (live chat)

Using Zendesk's Messaging widget on your site for live chat? This integration is for you.
My AskAI integrated within Zendesk to deflect customer support live chat conversations
Learn about our Zendesk Messaging integration

Join1,000+ companies reducing their support costs and freeing up support agents for more important work

Vestd company logo — Customer of My AskAI's AI customer support agents
Genesis company logo — Customer of My AskAI's AI customer support agents
Zinc company logo — Customer of My AskAI's AI customer support agents
Customer.io company logo — Customer of My AskAI's AI customer support agents
Zeffy company logo — Customer of My AskAI's AI customer support agents
NHS company logo — Customer of My AskAI's AI customer support agents
Kontakt.io company logo — Customer of My AskAI's AI customer support agents

Reduce support costs.Spend more time on customer success.

Our AI customer support agents are already used by 👇
Companies using AI assistants on their websites