본문 바로가기

프로그래밍/HTML5

테이블태그

<!DOCTYPE html>
<html>
   <head>
      <meta charset="utf-8"> 
      <title>time</title>
   </head>
   <body>
      <h1>시간표</h1>
      <table border="1">
      <thead>
         <tr>
            <th>시간</th>
            <th>월</th>
            <th>화</th>
            <th>수</th>
            <th>목</th>
            <th>금</th>
         </tr>
      </thead>
      <tbody>
         <tr>
            <td>1교시</td>
            <td>창의공학</td>
            <td></td>
            <td></td>
            <td></td>
            <td>포토샵</td>
         </tr>
         <tr>
            <td>2교시</tb>
            <td>창의공학</td>
            <td></td>
            <td>직업기초</td>
            <td>ppt</td>
            <td>포토샵</td>
         </tr>
         <tr>
            <td>3교시</td>
            <td>창의공학</td>
            <td></td>
            <td>컴퓨터활용</td>
            <td>ppt</td>
            <td>포토샵</td>
         </tr>
      </tbody>
      <script> alert("테이블 태그") </script>
      <link rel ="stylesheet" href="style.css" />
   </body>
</html>

 

'프로그래밍 > HTML5' 카테고리의 다른 글

이미지태그  (0) 2017.09.20
시간표 제작  (0) 2017.09.20
글자태그,목록 태그  (0) 2017.09.20
하이퍼링크  (0) 2017.09.20
본문 태그  (0) 2017.09.20