Web Development course in Sindhi
ٽيبل ٽيگس ۽ ايٽريبيوٽس ڇا آھن
Table Tags and Attributes in HTML Web Development course in Sindhi
Table Tag:
In HTML, the <table> tag is used to define a table. A table is used to organize data in rows and columns.
Syntax:
html
Copy
<table>
<!– Table rows and columns go here –>
</table>
سنڌي ۾ سمجھاڻي:
HTML ۾ <table> ٽئگ استعمال ڪيو ويندو آهي جدول ٺاهڻ لاءِ. جدول معلومات کي قطار ۽ ڪالمن ۾ ترتيب ڏيڻ لاءِ استعمال ڪيو ويندو آهي.
ساخت:
html
Copy
<table>
<!– هتي قطارون ۽ ڪالمن رکجن ٿيون –>
</table>
Table Attributes: Web Development course in Sindhi
- border:
- The border attribute is used to define the border of the table.Example: <table border=”1″>
- سنڌي ۾: border ايٽريبيوٽ ٽيبل جي ڪناري کي ظاهر ڪرڻ لاءِ استعمال ٿيندو آهي.
- cellspacing:
- The cellspacing attribute specifies the space between the cells of the table.
- Example: <table cellspacing=”10″>
- سنڌي ۾: cellspacing ايٽريبيوٽ ٽيبل ۾ موجودن خانن جي وچ ۾ فاصلو بيان ڪندو آهي.
- cellpadding:
- The cellpadding attribute defines the space between the cell content and the cell border.Example: <table cellpadding=”10″>
- سنڌي ۾: cellpadding ايٽريبيوٽ ٽيبل جي هر خان ۾ مواد ۽ ڪناري جي وچ ۾ فاصلو طئي ڪندو آهي.
- width:
- The width attribute sets the width of the table.
- Example: <table width=”500″>
- سنڌي ۾: width ايٽريبيوٽ ٽيبل جي ويڪر کي طئي ڪري ٿو.
- height:
- The height attribute sets the height of the table.
- Example: <table height=”300″>
- سنڌي ۾: height ايٽريبيوٽ ٽيبل جي اوچائي کي طئي ڪري ٿو.
- align:
- The align attribute is used to specify the alignment of the table on the page.Example: <table align=”center”>
- سنڌي ۾: align ايٽريبيوٽ ٽيبل جي صفحي تي ترتيب بيان ڪندو آهي.
- bgcolor:
- The bgcolor attribute defines the background color of the table.
- Example: <table bgcolor=”lightblue”>
- سنڌي ۾: bgcolor ايٽريبيوٽ ٽيبل جي پسمنظر جو رنگ طئي ڪري ٿو.
- style:
- The style attribute allows you to apply CSS directly to the table.Example: <table style=”border: 2px solid black;”>
- سنڌي ۾: style ايٽريبيوٽ CSS کي سڌو سنئون ٽيبل تي لاڳو ڪرڻ لاءِ استعمال ڪيو ويندو آهي.
سنڌي ۾ ٽيبل ٽئگ ۾ استعمال ٿيڻ وارا اهم ايٽريبيوٽس: Web Development course in Sindhi
- border: ٽيبل ۾ ڪنارو ڏيکارڻ لاءِ.
- cellspacing: ٽيبل جي خانن جي وچ ۾ فاصلو رکڻ لاءِ.
- cellpadding: خانن ۾ مواد ۽ ڪناري جي وچ ۾ فاصلو رکڻ لاءِ.
- width: ٽيبل جي ويڪر کي طئي ڪرڻ لاءِ.
- height: ٽيبل جي اوچائي کي طئي ڪرڻ لاءِ.
- align: ٽيبل کي صفحي تي ترتيب ڏيڻ لاءِ.
- bgcolor: ٽيبل جي پسمنظر جو رنگ طئي ڪرڻ لاءِ.
- style: ٽيبل تي CSS لاڳو ڪرڻ لاءِ.
- Web Development course in Sindhi