程式碼:<hr width="50" size="50" color="#ff0000" align="left">
程式碼:<hr width="200" size="4" noshade align="left">
程式碼:<hr width="1" size="110" color="#00ff00" align="center">
說明:hr 的 color 屬性在 Netscape 中並不支援;作為豎線時,僅能在 IE 中顯示到 100 像素。
程式碼:<hr size=1 style="color:red;border-style:dotted;width:300">。透過調整 size 從 1 到 40,可得到不同粗細的虛線:
程式碼:<hr size=1 style="color:red;border-style:double;width:300">,同樣可透過 size 調整粗細: