The approach you are using is really correct, but the output <IPython.core.display.HTML object> means the display object was created — the actual HTML should render in the notebook cell until there is no frontend issue:
<IPython.core.display.HTML object>