运行 ❯
获取您
自己的
网站
×
更改方向
保存代码
更改主题,暗/亮
前往 Spaces
<!DOCTYPE html> <html> <head> <style> h1 { border-style: solid; border-width: thick; } div { border-style: solid; border-width: thick; } </style> </head> <body> <h1>A heading with a thick border</h1> <div>A div element with a thick border.</div> <p><strong>Note:</strong> The border-width property does not work if it is used alone. Use the border-style property to set the border first.</p> </body> </html>