W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
运行代码
<!DOCTYPE html> <html> <head> <style> p { border-style:solid; } p.none {border-right-style:none;} p.dotted {border-right-style:dotted;} p.dashed {border-right-style:dashed;} p.solid {border-right-style:solid;} p.double {border-right-style:double;} p.groove {border-right-style:groove;} p.ridge {border-right-style:ridge;} p.inset {border-right-style:inset;} p.outset {border-right-style:outset;} </style> </head> <body> <p class="none">没有右边框.</p> <p class="dotted">点线右边框.</p> <p class="dashed">虚线右边框.</p> <p class="solid">实线右边框</p> <p class="double">双实线右边框</p> <p class="groove">一个右槽边界。</p> <p class="ridge">脊状右边距.</p> <p class="inset">右内边距.</p> <p class="outset">右外边距.</p> </body> </html>