The HTML editor is enabled by default for Header/Footer and HTML blocks, however for certain non-standard HTML and CSS code you may need to disable it in order to prevent it from auto-fixing your code. The option to disable the editor is in the Advanced tab of the header/footer and HTML Block. If Advanced tab is not displayed, you must go to the second screen of the DataPage wizard and enable Advanced Options.

Disable_HTML_editor_1