TableData rowSpan attribute

Definition and Usage

rowSpan Set or return the value of the rowspan attribute.

<td> rowspan attribute Specify the number of rows a table cell should span.

Tip:Use colSpan attribute Set or return colspan attribute value.

See also:

HTML রেফারেন্স ম্যানুয়েল:HTML <td> ট্যাগ

Example

Example 1

Change the number of rows a table cell should span:

document.getElementById("myTd").rowSpan = "1";

Try it yourself

Example 2

Return the number of rows a specific table cell should span:

var x = document.getElementById("myTh").rowSpan;

Try it yourself

Syntax

return rowSpan attribute:

tabledataObject.rowSpan

set rowSpan attribute:

tabledataObject.rowSpan = number

অ্যাট্রিবিউট মূল্য

মূল্য বর্ণনা
number সেলটি যে সংখ্যক সারি অতিক্রম করা হবে তা নির্ধারণ করে

টেকনিক্যাল বিবরণ

ফলাফল: সংখ্যা, যা ট্যাবল সেলের যে সংখ্যক সারি অতিক্রম করা হবে

ব্রাউজার সমর্থন

চ্রোম এজ ফায়ারফক্স স্যাফারি অপেরা
চ্রোম এজ ফায়ারফক্স স্যাফারি অপেরা
সমর্থন সমর্থন সমর্থন সমর্থন সমর্থন

সংশ্লিষ্ট পাতা

HTML রেফারেন্স ম্যানুয়েল:HTML <td> rowspan অ্যাট্রিবিউট