Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <title>Ans: 1</title>
- <style>
- td,th{
- border: 1px solid black;
- }
- table{
- border-collapse: collapse;
- margin: 0 auto;
- }
- .up{
- border-top: none;
- }
- .bottom{
- border-bottom: none;
- }
- .twoside{
- border-bottom: none;
- border-right: none;
- width: 60px;
- }
- .container{
- width: 500px;
- text-align: center;
- }
- .r13{
- text-align: left;
- }
- </style>
- </head>
- <body>
- <div class="container">
- <h3>TP</h3>
- <h4>Table Practice</h4>
- <table>
- <tr>
- <th>Na</th>
- <th class="up">ac</th>
- <th>age</th>
- </tr>
- <tr>
- <td class="r13">ja</td>
- <td>12</td>
- <td class="r13">13</td>
- </tr>
- <tr>
- <td class="r13">sa</td>
- <td class="bottom">00</td>
- <td colspan="2" rowspan="2">10</td>
- </tr>
- <tr>
- <td class="r13">ji</td>
- <td class="up">02</td>
- </tr>
- <tr>
- <td colspan="2"></td>
- <td class="twoside">00</td>
- </tr>
- </table>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement