RUNOOB.COM
源代码:
点击运行
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>菜鸟教程(runoob.com)</title> <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>
运行结果