How can I format the text of the article with the source code?

Question

How can I use the Source code (HTML) option in the help center article editor toolbar to format the text of my article?

Answer

Use the help center article editor toolbar to format your articles. The Source code feature lets you apply HTML tags to enrich your text.

Here is a list of HTML tags you can use in your articles:

Blockquotes | <blockquote>block quote text here</blockquote>
Preformatted text | <pre>pre-formatted text here</pre>
Headings | <h1>header text here</h1> (h1 largest, h6 smallest)
Superscript | <sup>superscript text here</sup>
Subscript | <sub>subscript text here</sub>
Strikethrough | <strike>strikethrough text</strike>

Indent

<p style="padding-left: 30px;">Indented text here</p>
Change the number of pixels (for example, 35px) to adjust the indent.

Inline code | <code>snippet here</code>
Highlight | <mark>highlighted text here</mark>

This screenshot shows how the HTML renders in the help center.

This is not a complete list of HTML elements you can add to articles. It covers the most common use cases. If your HTML tags or attributes do not display correctly, you may need to adjust your settings.

For more information, see the article: Editing the source code of help center articles.