Day 3

How to create a table in HTML 

First we need to know html elements 

table, tr, td, th, thead, tbody

Table elements are the elements used initially to create a table. 

tr Means Table Row हो। 

th Means Table Header हो। 

td Means Table Description हो। 

thead Means Table Heading हो भनी tbody Means Table Body हो।  


Now looking at it in a practical way. 

<body>
<table>
<tr>
<th>This is Table Header 1</th>
<th>This is Table Header 2</th>
</tr>
<tr>
<td>This is Table Description 1</td>
<td>This is Table Description 2</td>
</tr>
</table>
</body>


Note :  

<table border ="1"> should be written otherwise it will not show in the table.

The th key is used when writing the Heading Topic of the table, the td key is then used, while the tr key is used to remove one of the Columns. 

Your Computer Project Task 

SundayMondayTuesdayWednesdayThursdayFridaySaturday
123456
78910111213
14151617181920
21222324252627
282930




Comments

Popular posts from this blog

All Important Short-Cut Keys for Windows User

Simple Meaning of What is Computer in English and Nepali.

Types of Computer on the on the basic size. (आकारको आधारमा)