Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Hyperlink in Label

Do you know how can I insert a hyperlink into the text of html.Label (see the code below)
I would like to have “himdlxdb44” word only as a hyperlink.

Code example:
html.Label(children=‘Data disk space usage - himdlxdb44’,
style={‘float’: ‘center’}

html.Label(['Text', html.A('link', href='/link-location')])

From the docs (

  1. The children property is special. By convention, it’s always the first attribute which means that you can omit it: html.H1(children=‘Hello Dash’) is the same as html.H1(‘Hello Dash’). Also, it can contain a string, a number, a single component, or a list of components.