mozilla
Os seus resultados da pesquisa

    <section>

    Introduced in HTML5

    Sumário

    The HTML Section Element (<section>) represents a generic section of a document, i.e., a thematic grouping of content, typically with a heading. Each <section> should be identified, typically by including a heading (h1-h6 element) as a child of the <section> element.

    Usage notes :

    • If it makes sense to separately syndicate the content of a <section> element, use an <article> element instead.
    • Do not use the <section> element as a generic container; this is what <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.

    contexto de uso

    Permitted content: Flow content
    Tag omission: tanto a tag de início quanto a tag de fechamento são obrigatórias
    Permitted parent elements

    Any element that accepts flow content. Note that a <section> elementmust not be a descendant of an <address> element.

    Normative document HTML5, section 4.4.2

    Atributos

    This element only includes the global attributes.

    DOM Interface

    This element implements the HTMLElement interface.

    Exemplos

    <section>
      <h1>Heading</h1>
      <p>Bunch of awesome content</p>
    </section>
    

    Compatibilidade

    Help improve compatibility tables by filling out this 11 question survey.

    Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
    Basic support 5 4.0 (2.0) 9.0 11.10 4.1
    Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
    Basic support 2.2 4.0 (2.0) 9.0 11.0 5.0 (iOS 4.2)

    veja também

    Etiquetas do documento e colaboradores

    Contribuíram para esta página: mazulo, leosilva-rs, teoli
    Última atualização por: leosilva-rs,