运行 ❯
获取您
的
网站
×
更改方向
保存代码
更改主题,暗/亮
前往 Spaces
<!DOCTYPE html> <html> <head> <style> h1 { border-style: solid; border-width: medium; } div { border-style: solid; border-width: medium; } </style> </head> <body> <h1>A heading with a medium border</h1> <div>A div element with a medium 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>