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