You can clear the formatting of an element such as text by selecting the text, navigating to the “Format” menu, and selecting the “Clear formatting” option from the drop-down menu. Alternatively, you can use the keyboard shortcut “Ctrl+\\” to achieve the same result.