borderCollapse 예제
<table id="hz" border="1">
<tr>
<th>언어</th>
<th>기능</th>
</tr>
<tr>
<td>HTML</td>
<td>뼈대</td>
</tr>
<tr>
<td>CSS</td>
<td>디자인</td>
</tr>
</table>
<button type="button" onclick="homzzang()">클릭</button>
<script>
function homzzang() {
document.getElementById("hz").style.borderCollapse = "collapse";
}
</script>
결과보기
정의
.
기본값:
반환값: 를 나타내는 문자열
CSS속성:
CSS버전: CSS
4.
브라우저 지원.
구문
[접근]
[설정]
[속성값]