{{HTMLVersionHeader("5")}}
সারাংশ
HTML সেকশন এলিমেন্ট (<section>
) একটি ডকুমেন্ট এর কিছু অংশকে নির্দিষ্ট করে। যেমনঃ শিরোনাম সহ কিছু কন্টেন্ট।
ব্যবহার নির্দেশিকাঃ
- If it makes sense to separately syndicate the content of a {{HTMLElement("section")}} element, use an {{HTMLElement("article")}} element instead.
- Do not use the {{HTMLElement("section")}} element as a generic container; this is what {{HTMLElement("div")}} is for, especially when the sectioning is only for styling purposes. A rule of thumb is that a section should logically appear in the outline of a document.
- Content categories Flow content, Sectioning content, palpable content.
- Permitted content Flow content.
- Tag omission {{no_tag_omission}}
- Permitted parent elements Any element that accepts flow content. Note that a {{HTMLElement("section")}} element must not be a descendant of an {{HTMLElement("address")}} element.
- DOM interface {{domxref("HTMLElement")}}
অ্যাট্রিবিউট সমূহ
This element only includes the global attributes.
উদাহরণ
<section> <h1>Heading</h1> <p>Bunch of awesome content</p> </section>
Specifications
Specification | Status | Comments |
---|---|---|
{{SpecName('HTML WHATWG', 'sections.html#the-section-element', '<section>')}} | {{Spec2('HTML WHATWG')}} | |
{{SpecName('HTML5 W3C', 'sections.html#the-section-element', '<section>')}} | {{Spec2('HTML5 W3C')}} |
ব্রাউজার কম্প্যাটিবিলিটি
{{CompatibilityTable}}
ফিচার | ক্রোম | ফায়ারফক্স (গেকো) | ইন্টারনেট এক্সপ্লোরার | অপেরা | সাফারি |
---|---|---|---|---|---|
Basic support | 5 | {{CompatGeckoDesktop("2.0")}} | 9.0 | 11.10 | 4.1 |
ফিচার | অ্যান্ড্রয়েড | ফায়ারফক্স মোবাইল (গেকো) | ইন্টারনেট এক্সপ্লোরার মোবাইল | অপেরা মোবাইল | সাফারি মোবাইল |
---|---|---|---|---|---|
Basic support | 2.2 | {{CompatGeckoMobile("2.0")}} | 9.0 | 11.0 | 5.0 (iOS 4.2) |
আরও দেখুন
- Other section-related elements: {{HTMLElement("body")}}, {{HTMLElement("nav")}}, {{HTMLElement("article")}}, {{HTMLElement("aside")}}, {{HTMLElement("h1")}}, {{HTMLElement("h2")}}, {{HTMLElement("h3")}}, {{HTMLElement("h4")}}, {{HTMLElement("h5")}}, {{HTMLElement("h6")}}, {{HTMLElement("hgroup")}}, {{HTMLElement("header")}}, {{HTMLElement("footer")}}, {{HTMLElement("address")}};
- Sections and outlines of an HTML5 document.
{{HTMLRef}}