Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/327.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 在破折号中的html.H3元素下面划线_Python_Plotly Dash - Fatal编程技术网

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'})