Introduction to HTML tables in Hindi Part 5:
ऊपर दी गयी script निचे दिया गया web page generate करती है।
HTML tables
- Introduction to HTML tables in Hindi
- Creating HTML tables in Hindi
- <tr> HTML table row tag in Hindi
- <td> tag HTML table column tag in Hindi
- <th> tag for heading in HTML tables
- Styling HTML tables in Hindi
Introduction to HTML tables
किसी भी data को structured form में represent करने के लिये आप tables use करते है। अपने webpage में tables include करके आप उसे ओर भी structured ओर attractive बना सकते है। HTML मे tables create करने के लिये आप <table> tag युज करते है। इस tag का एक sub tag होता है जिसे <tr> table row tag कहते है। <tr> tag का भी एक sub tag होता है जिसे <td> table data tag कहते है।
इसका उदाहरण नीचे दिया जा रहा है।
Creating tables in HTML
कोई भी table row ओर columns से मिलकर बनी होती है। इसलिये <table> tag के बाद row create करने के लिये आप <tr> tag युज करते है। आप जितनी rows create करना चाहते है उतने ही <tr> tag define करते है। Rows create करने के बाद आप rows मे columns create करते है। Columns create करने के लिये <td> tag का इस्तेमाल किया जाता है। आप जितने columns create करना चाहते है उतने ही <td> tags define करते है।इसका उदाहरण नीचे दिया जा रहा है।
<html>
<head>
<title> Table web page</title>
</head>
<body>
<table border="1">
<tr>
<td>First row first column</td>
<td> First row second coloumn</td>
</tr>
<tr>
<td>Second row first column</td>
<td>Second row second column</td>
</tr>
</table>
</body>
</html>
|
ऊपर दी गयी script निचे दिया गया web page generate करती है।

No comments:
Post a Comment