Hello,
You can add HTML to body, headers, footers, footnotes, endnotes and comments using the embedHTML method. You need to use this option:
'target' (string) document (default value), defaultHeader, firstHeader, evenHeader, defaultFooter, firstFooter, evenFooter, footnote, endnote and or comment.
Regards.