How to create Tables
Table –
webpage में अवयवो को show करने के लिए table बहुत ही सरल एवम महत्वपूर्ण
medium है | table पंक्ति (row), और कोलम (colamn) से मिलकर बनती है |
Basic Tags which define Table –
Tag
|
Purpose
|
table के शुरू में दिया गया टैग
|
|
<tr>
|
नंयी row को show करने के लिए
|
<td>
|
स्तम्भ को प्रदर्शित करने के लिए
|
Syntax –
<table attribute>
<tr>
<td>
Any Text
</td>
</tr>
</table>
Attribure –
Border – Integer value
Align – left, right , center
Width – pixel / percentage
By color – Any color name
Example – Make this table
Computer padhai
|
|
1999
|
2000
|
Coding-
<html>
<head>
<title> making table
</title>
</head>
<body>
<table>
<tr>
<td colspan=2> Computer
padhai</td>
</tr>
<tr>
<td > 1999</td>
<td > 1999</td>
</tr>
</table>
</body>
</html>
·
<tr> टैग का मतलब table row से है , और
<td> टैग का मतलब यहाँ table डाटा से है |
·
Table heading लगाने के लिए <th> </th> का use
किया जाता है |
Next chapter भी जल्द ही...
Nilesh dadheech
0 Comments