源代碼
點擊運行
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>教程</title> <style> p.bottommargin {margin-bottom:25%;} </style> </head> <body> <p>這是一個沒有指定邊距大小的段落。</p> <p class="bottommargin">這是一個指定下邊距大小的段落。</p> <p>這是一個沒有指定邊距大小的段落。</p> </body> </html>
運行結果