WON.dev
chapter02 : table 본문
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>table</title>
<!-- 모바일 디바이스에서 터치/줌 등을 지원하기 위한 meta 태그 -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap 최신 버전의 css 파일들을 링크 -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css">
<!-- jQuery 최신 버전의 js 파일들을 링크 -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<!-- Popper 최신 버전 링크 -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<!-- Bootstrap을 이용하기 위한 최신 버전 링크 -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script>
</head>
<body>
<div class="cotainer">
<h2>기본 테이블</h2>
<p>table 클래스는 기본적으로 스타일을 포함</p>
<table class="table">
<thead>
<tr>
<th>성</th>
<th>이름</th>
<th>이메일</th>
</tr>
</thead>
<tbody>
<tr>
<th>홍</th>
<th>길동</th>
<th>test@gmail.com</th>
</tr>
<tr>
<th>고</th>
<th>길동</th>
<th>test@gmail.com</th>
</tr>
<tr>
<th>김</th>
<th>길동</th>
<th>test@gmail.com</th>
</tr>
</tbody>
</table>
</div>
</body>
</html>
'WEB.BOOTSTRAP' 카테고리의 다른 글
chapter01 : bootstrap (0) | 2023.05.22 |
---|---|
chapter03 : alert (0) | 2023.05.22 |
chapter04 : button (0) | 2023.05.22 |
chapter05 : from (0) | 2023.05.22 |
chapter06 : modal (0) | 2023.05.22 |