English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Manual de Referência HTML

大全 de etiquetas HTML

HTML: <section> tag

O elemento HTML <section> representa uma parte independente contida no documento HTML, que não possui elementos semânticos mais específicos para representá-la. Geralmente, há um título incluído. Este rótulo também é conhecido como elemento <section>.

Exemplo Online

Crie uma etiqueta <section>:

!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Uso da etiqueta section HTML (Tutorial Básico da Web oldtoolbag.com)</title>
</head>
<body>
<section>
  <h1>Título para a Seção</h1>
  <p>Texto que aparece sob a seção</p>
</section>
</body>
</html>
Test and see ‹/›

Browser compatibility

IEFirefoxOperaChromeSafari

IE 9+, Firefox, Opera, Chrome and Safari <section> tag.

Note:IE 8 or earlier versions of IE browsers do not support <section> tag.

Definition and usage instructions of tags

<section> tag defines a certain area of the document. For example, chapters, headers, footers, or other areas of the document.

<section> tag is usually used for grouping thematic content.

for IE versions earlier than 9IE browsers, please use HTML5shiv, a JavaScript solution that can provide support for new HTML5elements provide support, such as: <header>, <main>, <article>, <section>, <aside>, <nav>. <footer>.

HTML 4.01 with HTML5differences

<section> tag is HTML5 with new tags.

Global attributes

Support of <section> tag Global attributes of HTML.

Event attributes

Support of <section> tag Event attributes of HTML.