Formatting functions in HTML field editors

reference australia Updated Sep 10, 2026 3 min read r_Formatting.md
Raw file servicenow.com

The formatting table displays how to control the way text appears.

The following table displays icons that are available in the TinyMCE and the htmlArea editors. Names marked with an asterisk (*) aren’t available with the htmlArea editor.

Name

htmlArea icon

TinyMCE icon

Description

A11y Checker

 

[Omitted image "a11y-checker.png"] Alt text: TinyMCE Accessibility Checker

Allows you to check the HTML in the editor for various WCAG & Section 508 accessibility problems. a11ychecker

Align Center

[Omitted image "CenterTextAlignHTML.png"] Alt text: Center text align html

[Omitted image "TinyMCEV6-align-center_icon.png"] Alt text: TinyMCE v6 Align Center

Applies center alignment to the current paragraph.

Code reference: text-align:center

Align Left

[Omitted image "LeftTextAlignHTML.png"] Alt text: Left text align html

[Omitted image "TinyMCEV6-align-left_icon.png"] Alt text: TinyMCE v6 Align Left

Applies left alignment to the current paragraph.

Code reference: text-align:left

Align Right

[Omitted image "RightTextAlignHTML.png"] Alt text: Right text align html

[Omitted image "TinyMCEV6-align-right_icon.png"] Alt text: TinyMCE v6 Align Right

Applies right alignment to the current paragraph.

Code reference: text-align:right

Background Color

[Omitted image "BgColorHTML.png"] Alt text: Background color html

[Omitted image "TinyMCEV6-background-color_icon.png"] Alt text: TinyMCE v6 Background Color

Applies background color to the current word or selected text. Select the button to use the current color. Select More Colors... to view various color options and the hexadecimal codes.

Blocks

[Omitted image "ParaStylesHTML.png"] Alt text: Paragraph styles html

[Omitted image "ParaStylesHTML.png"] Alt text: TinyMCE Block style

Applies the selected header or paragraph style to the current word or selected text.

*Block quote

 

[Omitted image "TinyMCEV6-blockquote_icon.png"] Alt text: TinyMCE v6 block-quotes

Applies block quote format to the current block level element.

Bold

[Omitted image "BoldHTML.png"] Alt text: Bold html

[Omitted image "TinyMCEV6-bold_icon.png"] Alt text: TinyMCE v6 Bold

Applies bold formatting to the selected text or current word.

Keyboard shortcut: CTRL + B

Bullet List

[Omitted image "BulletedHTML.png"] Alt text: Bullet html

[Omitted image "TinyMCEV6-bullet-list_icon.png"] Alt text: TinyMCE v6 Bullet List

Applies or removes unordered list tags for the selected paragraphs. Select the arrow to choose a different bullet type.

Font Family

[Omitted image "FontFamilyHTML.png"] Alt text: Font Family html drop-down menu

[Omitted image "TinyMCEV6-fontfamily_icon.png"] Alt text: TinyMCE v6 Font Family drop-down menu

Applies a font family to the selected text or current word.

Font Size

[Omitted image "FontSizeHTML.png"] Alt text: Font size html

[Omitted image "TinyMCEV6-fontsize_icon.png"] Alt text: TinyMCE v6 Font Size drop-down menu

Applies a font size to the selected text or current word.

Format painter

 

[Omitted image "format-painter.png"] Alt text: TinyMCE Format Painter

Applies formatting choices, including font style, size, and table styles, between locations within the TinyMCE editable area. Supports various formats like inline and block styles.

Increase Indent

[Omitted image "IndentHTML.png"] Alt text: Indent html

[Omitted image "TinyMCEV6-increase-indent_icon.png"] Alt text: TinyMCE v6 Increase Indent

Applies indentation to the current or selected paragraphs, adding 30 px of left padding.

Code reference: padding-left

Italic

[Omitted image "ItalicHTML.png"] Alt text: Italic html

[Omitted image "TinyMCEV6-italic_icon.png"] Alt text: TinyMCE v6 Italic

Applies italic formatting to the selected text or current word.

Keyboard shortcut: CTRL + I

Justify

[Omitted image "FullTextAlignHTML.png"] Alt text: Full text align html

[Omitted image "TinyMCEV6-justify_icon.png"] Alt text: TinyMCE v6 Justify

Applies justified alignment, which stretches the lines to be equal widths, to the selected paragraph.

Code reference: text-align:justify

*LTR (Left to Right)

 

[Omitted image "TinyMCEV6-ltr_icon.png"] Alt text: TinyMCE v6 LTR

Sets the directionality of contents to from left to right.

*New document

 

[Omitted image "TinyMCEV6-new-document_icon.png"] Alt text: TinyMCE v6 New Document

Creates a document without any formatting.

Non-breaking

 

[Omitted image "TinyMCEV6-nonbreaking_icon.png"] Alt text: TinyMCE v6 Non-breaking

Inserts a non-breaking space into the editor.

Numbered List

[Omitted image "NumberedHTML.png"] Alt text: Numbered html

[Omitted image "TinyMCEV6-numbered-list_icon.png"] Alt text: TinyMCE v6 Numbered List

Applies or removes ordered list tags for the selected paragraphs. Select the arrow to choose a different number type.

Outdent

[Omitted image "DeIndentHTML.png"] Alt text: Decrease Indent html

[Omitted image "TinyMCEV6-outdent_icon.png"] Alt text: TinyMCE v6 Outdent

Removes indentation from the current or selected paragraphs, removing 30 px of left padding.

Note: Padding can’t be less than 0.

Code reference: padding-left

*Page-break

 

[Omitted image "TinyMCEV6-pagebreak_icon.png"] Alt text: TinyMCE v6 Page-break

Inserts a page-break into the editor.

*Remove format

 

[Omitted image "TinyMCEV6-remove-formatting_icon.png"] Alt text: TinyMCE v6 Remove format

Removes the formatting from the selected text.

*RTL (Right to Left)

 

[Omitted image "TinyMCEV6-rtl_icon.png"] Alt text: TinyMCE v6 RTL

Sets the directionality of contents to right to left.

Strike through

 

[Omitted image "TinyMCEV6-strikethrough_icon.png"] Alt text: TinyMCE v6 Strike through

Applies strikethough formatting to the selected text.

*Subscript

 

[Omitted image "TinyMCEV6-subscript_icon.png"] Alt text: TinyMCE v6 Subscript

Applies subscript formatting to the selected text.

*Superscript

 

[Omitted image "TinyMCEV6-superscript_icon.png"] Alt text: TinyMCE v6 Superscript

Applies superscript formatting to the selected text.

Text Color

[Omitted image "TextColorHTML.png"] Alt text: Text color html

[Omitted image "TinyMCEV6-text-color_icon.png"] Alt text: TinyMCE v6 Text Color

Applies text color to the selected text. Select the button to use the current color. Select More Colors... to view various color options and the hexadecimal codes.

Underline

[Omitted image "UlineHTML.png"] Alt text: Underline html

[Omitted image "TinyMCEV6-underline_icon.png"] Alt text: TinyMCE v6 Underline

Applies underline formatting to the selected text or current word.

Keyboard shortcut: CTRL + U

Search documentation
Search document titles and file paths on the australia branch