TableData colSpan attribute
Definition and Usage
colSpan
Set or return the value of colspan attribute.
<td> colspan attribute Specify the number of columns a table cell should span.
Tip:Use rowSpan attribute Set or return HTML rowspan attribute value.
See also:
HTML রেফারেন্স ম্যানুয়েল:HTML <td> ট্যাগ
Example
Example 1
Change the number of columns a table cell should span:
document.getElementById("myTd").colSpan = "1";
Example 2
Return the number of columns a specific table cell should span:
var x = document.getElementById("myTd").colSpan;
Syntax
return colSpan attribute:
tabledataObject.colSpan
set colSpan attribute:
tabledataObject.colSpan = number
এট্রিবিউট মূল্য
মূল্য | বর্ণনা |
---|---|
number | সেলকে ক্রমাগত কলামগুলির সংখ্যা নির্দেশ করে |
প্রযুক্তিগত বিবরণ
ফলাফল: | সংখ্যা, যা ট্যাবল সেলের ক্রমাগত কলামগুলির সংখ্যা নির্দেশ করে |
---|
ব্রাউজার সমর্থন
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
সমর্থন | সমর্থন | সমর্থন | সমর্থন | সমর্থন |
সংশ্লিষ্ট পাতা
HTML রেফারেন্স ম্যানুয়েল:HTML <td> colspan এট্রিবিউট