Not sure QTextBrowser support that many formatting tags. Maybe you can use the webkit ? Please see this thread: https://forum.qt.io/topic/1864/how-good-is-the-html-and-css-support-in-qtextbrowser/2