How to make subscript and superscript in Dash

Hi @Mlevesque

You can use the html.Sub() and the html.Sup() for subscripts and superscripts:

html.Div(["H", html.Sub(2), "H", html.Sup(2)])

image

1 Like