Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 549817 of <section>

  • Revision slug: HTML/Element/section
  • Revision title: <section>
  • Revision id: 549817
  • তৈরি হয়েছেঃ
  • তৈরিকারীঃ badsha_eee
  • Is current revision? না
  • মন্তব্য

Revision Content

{{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.

অ্যাট্রিবিউট সমূহ

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}}

Revision Source

<div>
 {{HTMLVersionHeader("5")}}</div>
<h2 id="Summary">সারাংশ</h2>
<p><em>HTML সেকশন এলিমেন্ট</em> (<code>&lt;section&gt;</code>) একটি ডকুমেন্ট এর কিছু অংশকে নির্দিষ্ট করে। যেমনঃ শিরোনাম সহ কিছু কন্টেন্ট।</p>
<div class="note">
 <p><em>ব্যবহার নির্দেশিকাঃ</em></p>
 <ul>
  <li>If it makes sense to separately syndicate the content of a {{HTMLElement("section")}} element, use an {{HTMLElement("article")}} element instead.</li>
  <li>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.</li>
 </ul>
</div>
<ul class="htmlelt">
 <li><dfn><a href="/en-US/docs/Web/HTML/Content_categories">Content categories</a></dfn> <a href="/en-US/docs/Web/HTML/Content_categories#Flow_content">Flow content</a>, <a href="/en-US/docs/Web/HTML/Content_categories#Sectioning_content">Sectioning content</a>, palpable content.</li>
 <li><dfn>Permitted content</dfn> <a href="/en-US/docs/Web/HTML/Content_categories#Flow_content">Flow content</a>.</li>
 <li><dfn>Tag omission</dfn> {{no_tag_omission}}</li>
 <li><dfn>Permitted parent elements</dfn> Any element that accepts <a href="/en-US/docs/Web/HTML/Content_categories#Flow_content">flow content</a>. Note that a {{HTMLElement("section")}} element must not be a descendant of an {{HTMLElement("address")}} element.</li>
 <li><dfn>DOM interface</dfn> {{domxref("HTMLElement")}}</li>
</ul>
<h2 id="Attributes">অ্যাট্রিবিউট সমূহ</h2>
<p>This element only includes the <a href="/en-US/docs/Web/HTML/Global_attributes">global attributes</a>.</p>
<h2 id="Examples">উদাহরণ</h2>
<pre class="brush: html">
&lt;section&gt;
  &lt;h1&gt;Heading&lt;/h1&gt;
  &lt;p&gt;Bunch of awesome content&lt;/p&gt;
&lt;/section&gt;
</pre>
<h2 id="Specifications">Specifications</h2>
<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">Specification</th>
   <th scope="col">Status</th>
   <th scope="col">Comments</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td>{{SpecName('HTML WHATWG', 'sections.html#the-section-element', '&lt;section&gt;')}}</td>
   <td>{{Spec2('HTML WHATWG')}}</td>
   <td>&nbsp;</td>
  </tr>
  <tr>
   <td>{{SpecName('HTML5 W3C', 'sections.html#the-section-element', '&lt;section&gt;')}}</td>
   <td>{{Spec2('HTML5 W3C')}}</td>
   <td>&nbsp;</td>
  </tr>
 </tbody>
</table>
<h2 id="Browser_compatibility">ব্রাউজার কম্প্যাটিবিলিটি</h2>
<div>
 {{CompatibilityTable}}</div>
<div id="compat-desktop">
 <table class="compat-table">
  <tbody>
   <tr>
    <th>ফিচার</th>
    <th>ক্রোম</th>
    <th>ফায়ারফক্স (গেকো)</th>
    <th>ইন্টারনেট এক্সপ্লোরার</th>
    <th>অপেরা</th>
    <th>সাফারি</th>
   </tr>
   <tr>
    <td>Basic support</td>
    <td>5</td>
    <td>{{CompatGeckoDesktop("2.0")}}</td>
    <td>9.0</td>
    <td>11.10</td>
    <td>4.1</td>
   </tr>
  </tbody>
 </table>
</div>
<div id="compat-mobile">
 <table class="compat-table">
  <tbody>
   <tr>
    <th>ফিচার</th>
    <th>অ্যান্ড্রয়েড</th>
    <th>ফায়ারফক্স মোবাইল (গেকো)</th>
    <th>ইন্টারনেট এক্সপ্লোরার মোবাইল</th>
    <th>অপেরা মোবাইল</th>
    <th>সাফারি মোবাইল</th>
   </tr>
   <tr>
    <td>Basic support</td>
    <td>2.2</td>
    <td>{{CompatGeckoMobile("2.0")}}</td>
    <td>9.0</td>
    <td>11.0</td>
    <td>5.0 (iOS 4.2)</td>
   </tr>
  </tbody>
 </table>
</div>
<h2 id="See_also">আরও দেখুন</h2>
<ul>
 <li>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")}};</li>
 <li><a href="/en-US/docs/Sections_and_Outlines_of_an_HTML5_document">Sections and outlines of an HTML5 document</a>.</li>
</ul>
<div>
 {{HTMLRef}}</div>
আগের রিভিসনে ফিরে যান