TableHeader rowSpan attribute

Definition and Usage

rowSpan Set or return the value of the rowspan attribute.

<th> 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 <th> ট্যাগ

Example

Example 1

Change the number of rows a cell should span:

document.getElementById("myTh").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:

tableheaderObject.rowSpan

set rowSpan attribute:

tableheaderObject.rowSpan = number

প্রতিযোগিতা মূল্য

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

প্রযুক্তিগত বিবরণ

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

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

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

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

HTML রেফারেন্স ম্যানুয়েল:HTML <th> rowspan প্রতিযোগিতা