하단 테두리의 스타일을 설정하려면 border-bottom-style 속성을 사용하십시오. 설정할 수 있는 테두리 값은 점선, 이중선, 파선, 실선 등입니다.
예시
다음 코드를 실행하여 하단 테두리 스타일을 지정할 수 있습니다.
<!DOCTYPE html>
<html>
<head>
<style>
p.dotted {border-bottom-style: dotted;}
p.double {border-bottom-style: double;}
p.dashed {border-bottom-style: dashed;}
p.solid {border-bottom-style: solid;}
p.inset {border-bottom-style: inset;}
p.outset {border-bottom-style: outset;}
</style>
</head>
<body>
<p class = "dotted">Dotted bottom border.</p>
<p class = "double">Double bottom border.</p>
<p class = "dashed">Dashed bottom border.</p>
<p class = "solid">Solid bottom border.</p>
<p class = "inset">Inset bottom border.</p>
<p class = "outset">Outset bottom border.</p>
</body>
</html> 출력
