Python 在破折号中的html.H3元素下面划线
我试图在Python 在破折号中的html.H3元素下面划线,python,plotly-dash,Python,Plotly Dash,我试图在dash中的html.H3()标题下划线。我的标题如下: html.H3('Distributions', style={'font-size': '20px'}) 如何在这个标题下加下划线?我可以看到您可以将css添加到h3元素中,因此,这里会有所帮助 html.H3('Distributions', style={'font-size': '20px', 'text-decoration': 'underline'})
dash
中的html.H3()
标题下划线。我的标题如下:
html.H3('Distributions', style={'font-size': '20px'})
如何在这个标题下加下划线?我可以看到您可以将
css
添加到h3
元素中,因此,这里会有所帮助
html.H3('Distributions', style={'font-size': '20px', 'text-decoration': 'underline'})