분류 bootstrap

테이블을 위한 코드

컨텐츠 정보

  • 조회 1,123 (작성일 )

본문

기본 형태 : 

<table class="table">
<thead><tr><th></th></tr></thead>
<tbody><tr><td></td></tr></tbody>
</table>

table-striped 형태 :  

<table class="table table-striped">
<thead><tr><th>Col 1</th><th>Col 2</th><th>Col 3</th></tr></thead>
<tbody><tr><td>..</td><td>..</td><td>..</td></tr></tbody>
</table>

table-bordered 형태 : 

<table class="table table-bordered">
<thead><tr><th>Col 1</th><th>Col 2</th><th>Col 3</th></tr></thead>
<tbody><tr><td>..</td><td>..</td><td>..</td></tr></tbody>
</table>

table-hover 형태 : 

<table class="table table-hover">
<thead><tr><th>Col 1</th><th>Col 2</th><th>Col 3</th></tr></thead>
<tbody><tr><td>..</td><td>..</td><td>..</td></tr></tbody>
</table>