源代碼
點擊運行
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>教程</title> <style> p {border-style:solid;} p.none {border-bottom-style:none;} p.dotted {border-bottom-style:dotted;} p.dashed {border-bottom-style:dashed;} p.solid {border-bottom-style:solid;} p.double {border-bottom-style:double;} p.groove {border-bottom-style:groove;} p.ridge {border-bottom-style:ridge;} p.inset {border-bottom-style:inset;} p.outset {border-bottom-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>
運行結果