Jupyter Notebook hook to print this element as HTML.

def _repr_html_(self):
        """
        Jupyter Notebook hook to print this element as HTML.
        """
        nbreset = f'<style>{css_nbreset}</style>'
        resources = ''.join(map(str, self.resources))
        return f'<div>{nbreset}{resources}<div class="hrepr">{self}</div></div>'