<hr> 代表段落級主題分隔(Horizontal Rule),HTML5 賦予語義:主題變更。預設渲染為一條水平線,可用 CSS 深度定製。
size:線條粗細(像素)。width:寬度(像素或 %)。color:顏色(非標準,IE 支援)。align:left/center/right。noshade:無陰影立體效果。<hr style="width:490px; border:0; border-top:1px solid #ccc;">
<hr style="width:490px; height:3px; border:none; border-top:3px double red;">
<hr style="border:0; border-top:1px dashed #999; width:80%;">
<hr style="border:0; height:1px; background:linear-gradient(90deg,transparent,#000,transparent);">

<div class="divider"> + CSS)。aria-hidden="true" 隱藏純裝飾線,避免螢幕閱讀器干擾。