TableData headers attribute
Definition and Usage
headers
Set or return the value of the headers attribute.
<td> headers attribute Specify a list of header cells that contain information about the current data cell.
See also:
HTML রেফারেন্স ম্যানুয়েল:HTML <td> ট্যাগ
Example
Example 1
Return the headers attribute value of the <td> element with id "myTd":
var x = document.getElementById("myTd").headers;
Example 2
Display the cell titles of the second row:
var table = document.getElementById("myTable"); var txt = ""; var i; for (i = 0; i < table.rows[1].cells.length; i++) { txt = txt + table.rows[1].cells[i].headers + "<br>"; }
Example 3
Change the headers attribute of the <td> element with id "myTd":
document.getElementById("myTd").headers = "newValue";
Syntax
Return headers attribute:
tabledataObject.headers
set headers attribute:
tabledataObject.headers = header_ids
প্রতিশব্দ মূল্য
মূল্য | বর্ণনা |
---|---|
header_ids | একটি বা একাধিক শিরোনাম সেলকে সংযুক্ত একটি গোলাপকৃত id তালিকা নির্দিষ্ট করে |
প্রযুক্তিগত বিবরণ
ফলাফল: | শব্দ, গোলাপকৃত শিরোনাম সেল পরিচিতার তালিকা অন্তর্ভুক্ত |
---|
ব্রাউজার সমর্থন
চ্রোম | এজ | ফায়ারফক্স | স্যাফারি | ওপেরা |
---|---|---|---|---|
চ্রোম | এজ | ফায়ারফক্স | স্যাফারি | ওপেরা |
সমর্থন | সমর্থন | সমর্থন | সমর্থন | সমর্থন |
সংশ্লিষ্ট পাতা
HTML রেফারেন্স ম্যানুয়েল:HTML <td> হেডার্স প্রতিশব্দ