Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Adding reference link to part of h1

$
0
0

I’m trying to make a few words of an h1 header as a link, but can’t figure out how to do that. First I tried to embed the HTML but that didn’t work.

html.H1('Presented by <a href="http://www.linktosouce.com">link to source</a>')

And then add the dash html.A within the header, but that also didn’t work

html.H1("Presented by" + html.A("link to souce", href="http://www.linktosouce.com"))

Is there a way to do this?

Thanks!

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles