{"id":1738,"date":"2010-12-30T11:39:50","date_gmt":"2010-12-30T13:39:50","guid":{"rendered":"https:\/\/www.kadunew.com\/blog\/?p=1738"},"modified":"2011-03-11T20:46:47","modified_gmt":"2011-03-11T22:46:47","slug":"como-usar-o-elemento-section-do-html5","status":"publish","type":"post","link":"https:\/\/www.kadunew.com\/blog\/html\/como-usar-o-elemento-section-do-html5","title":{"rendered":"Como usar o elemento SECTION do HTML5"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.kadunew.com\/blog\/wp-content\/uploads\/2010\/12\/elemento-section-html5.jpg\" alt=\"Usando o elemento SECTION do HTML5\" title=\"Usando o elemento SECTION do HTML5\" width=\"299\" height=\"211\" class=\"alignleft size-full wp-image-1775\" style=\"float:left;\"\/><\/p>\n<p>No artigo anterior falei sobre <a href=\"https:\/\/www.kadunew.com\/blog\/html5\/como-usar-o-elemento-nav-do-html5\" title=\"Elemento nav do HTML5, aprenda como usa-lo\">como usar o elemento NAV do HTML5<\/a>. Hoje vou falar um pouco sobre o elemento SECTION.<\/p>\n<p>A tag <strong>section \u00e9 utilizada para marcar as se\u00e7\u00f5es de conte\u00fado<\/strong> de uma p\u00e1gina. Com Esse elemento agrupamos de forma l\u00f3gica nosso conte\u00fado, separando a informa\u00e7\u00e3o em \u00e1reas diferentes. O principal objetivo \u00e9 retirar essa responsabilidade das divs. Tendo como principal diferencial a <a href=\"http:\/\/www.maujor.com\/blog\/2009\/10\/05\/navegacao-semantica-com-html-5\/\" title=\"Artigo do Maujor sobre Navega\u00e7\u00e3o sem\u00e2ntica com HTML5\">navega\u00e7\u00e3o sem\u00e2ntica com HTML 5<\/a>.<br \/>\n<!--more Continuar lendo...--><br \/>\nDigamos que na sua p\u00e1gina inicial voc\u00ea tenha tr\u00eas chamadas principais:<br \/>\nClientes, Servi\u00e7os e Not\u00edcias. A\u00ed um \u00f3timo lugar para voc\u00ea usar a tag <code>section<\/code>. Cada uma dessas chamadas podem ser um elemento de se\u00e7\u00e3o. A tag pode ser usada em conjunto com o H1, H2, H3, H4, H5 e H6, elementos para indicar a estrutura do documento. Ele pode conter um <code>header<\/code> e um <code>footer<\/code> se necess\u00e1rio.<\/p>\n<p><strong>Exemplo<\/strong><\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;section id=&quot;rock&quot;&gt;\r\n  &lt;h2&gt;Rock &lt;\/h2&gt;\r\n  &lt;!-- v\u00e1rios elementos article podem vir aqui --&gt;\r\n&lt;\/section&gt;\r\n\r\n&lt;section id=&quot;jazz&quot;&gt;\r\n  &lt;h2&gt;Jazz &lt;\/h2&gt;\r\n  &lt;!-- v\u00e1rios elementos article podem vir aqui --&gt;\r\n&lt;\/section&gt;\r\n\r\n&lt;section id=&quot;hip-hop&quot;&gt;\r\n  &lt;h2&gt;Hip hop &lt;\/h2&gt;\r\n  &lt;!-- v\u00e1rios elementos article podem vir aqui --&gt;\r\n&lt;\/section&gt;\r\n<\/pre>\n<p>Outro ponto a salientar, \u00e9 que podemos usar livremente divs para organizar nosso conte\u00fado dentro de um bloco marcado com o elemento <code>section<\/code>. E tamb\u00e9m podemos ter uma se\u00e7\u00e3o dentro da outra, <strong>veja o exemplo abaixo<\/strong>:<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;section class=&quot;cursos&quot;&gt;\r\n\t&lt;h4&gt;Cursos&lt;\/h4&gt;\r\n\t\t&lt;section&gt;\r\n\t\t\t&lt;h5&gt;Photoshop&lt;\/h5&gt;\r\n\t\t\t  &lt;div&gt;\r\n\t\t\t\tConte\u00fado...\r\n\t\t\t  &lt;\/div&gt;\r\n\t\t&lt;\/section&gt;   \r\n\t&lt;section&gt;\r\n    \t&lt;h5&gt;CorelDraw&lt;\/h5&gt;\r\n\t\t\tConte\u00fado...\r\n\t&lt;\/section&gt;\r\n&lt;\/section&gt;\r\n<\/pre>\n<p>Se quiser me seguir no Twitter: <a href=\"http:\/\/twitter.com\/kadunew\" rel=\"nofollow\">@kadunew<\/a><br \/>\nAbra\u00e7o e at\u00e9 o pr\u00f3ximo artigo!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>No artigo anterior falei sobre como usar o elemento NAV do HTML5. Hoje vou falar um pouco sobre o elemento SECTION. A tag section \u00e9 utilizada para marcar as se\u00e7\u00f5es de conte\u00fado de uma p\u00e1gina. Com Esse elemento agrupamos de forma l\u00f3gica nosso conte\u00fado, separando a informa\u00e7\u00e3o em \u00e1reas diferentes. O principal objetivo \u00e9 retirar [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[59],"tags":[34],"class_list":["post-1738","post","type-post","status-publish","format-standard","hentry","category-html","tag-html"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Como usar o elemento SECTION do HTML5<\/title>\n<meta name=\"description\" content=\"Aprenda a usar o elemento SECTION do HTML5. O SECTION serve para agrupar os conte\u00fados da p\u00e1gina que tenham rela\u00e7\u00e3o entre si.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.kadunew.com\/blog\/html\/como-usar-o-elemento-section-do-html5\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Como usar o elemento SECTION do HTML5\" \/>\n<meta property=\"og:description\" content=\"Aprenda a usar o elemento SECTION do HTML5. O SECTION serve para agrupar os conte\u00fados da p\u00e1gina que tenham rela\u00e7\u00e3o entre si.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.kadunew.com\/blog\/html\/como-usar-o-elemento-section-do-html5\" \/>\n<meta property=\"og:site_name\" content=\"KADUNEW\" \/>\n<meta property=\"article:published_time\" content=\"2010-12-30T13:39:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2011-03-11T22:46:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.kadunew.com\/blog\/wp-content\/uploads\/2010\/12\/elemento-section-html5.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"299\" \/>\n\t<meta property=\"og:image:height\" content=\"211\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Kadu Oliveira\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kadu Oliveira\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. tempo de leitura\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minuto\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.kadunew.com\/blog\/html\/como-usar-o-elemento-section-do-html5\",\"url\":\"https:\/\/www.kadunew.com\/blog\/html\/como-usar-o-elemento-section-do-html5\",\"name\":\"Como usar o elemento SECTION do HTML5\",\"isPartOf\":{\"@id\":\"https:\/\/www.kadunew.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.kadunew.com\/blog\/html\/como-usar-o-elemento-section-do-html5#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.kadunew.com\/blog\/html\/como-usar-o-elemento-section-do-html5#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.kadunew.com\/blog\/wp-content\/uploads\/2010\/12\/elemento-section-html5.jpg\",\"datePublished\":\"2010-12-30T13:39:50+00:00\",\"dateModified\":\"2011-03-11T22:46:47+00:00\",\"author\":{\"@id\":\"https:\/\/www.kadunew.com\/blog\/#\/schema\/person\/07b2297c4825efbd1e9f2a1018926b05\"},\"description\":\"Aprenda a usar o elemento SECTION do HTML5. O SECTION serve para agrupar os conte\u00fados da p\u00e1gina que tenham rela\u00e7\u00e3o entre si.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.kadunew.com\/blog\/html\/como-usar-o-elemento-section-do-html5#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.kadunew.com\/blog\/html\/como-usar-o-elemento-section-do-html5\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.kadunew.com\/blog\/html\/como-usar-o-elemento-section-do-html5#primaryimage\",\"url\":\"https:\/\/www.kadunew.com\/blog\/wp-content\/uploads\/2010\/12\/elemento-section-html5.jpg\",\"contentUrl\":\"https:\/\/www.kadunew.com\/blog\/wp-content\/uploads\/2010\/12\/elemento-section-html5.jpg\",\"width\":\"299\",\"height\":\"211\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.kadunew.com\/blog\/html\/como-usar-o-elemento-section-do-html5#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.kadunew.com\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HTML\",\"item\":\"https:\/\/www.kadunew.com\/blog\/category\/html\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Como usar o elemento SECTION do HTML5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.kadunew.com\/blog\/#website\",\"url\":\"https:\/\/www.kadunew.com\/blog\/\",\"name\":\"KADUNEW\",\"description\":\"Artigos sobre Front-End e Programa\u00e7\u00e3o web\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.kadunew.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.kadunew.com\/blog\/#\/schema\/person\/07b2297c4825efbd1e9f2a1018926b05\",\"name\":\"Kadu Oliveira\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/www.kadunew.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/780660fded589936b30467c54c99d51a?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/780660fded589936b30467c54c99d51a?s=96&r=g\",\"caption\":\"Kadu Oliveira\"},\"sameAs\":[\"https:\/\/www.kadunew.com\/blog\"],\"url\":\"https:\/\/www.kadunew.com\/blog\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Como usar o elemento SECTION do HTML5","description":"Aprenda a usar o elemento SECTION do HTML5. O SECTION serve para agrupar os conte\u00fados da p\u00e1gina que tenham rela\u00e7\u00e3o entre si.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.kadunew.com\/blog\/html\/como-usar-o-elemento-section-do-html5","og_locale":"pt_BR","og_type":"article","og_title":"Como usar o elemento SECTION do HTML5","og_description":"Aprenda a usar o elemento SECTION do HTML5. O SECTION serve para agrupar os conte\u00fados da p\u00e1gina que tenham rela\u00e7\u00e3o entre si.","og_url":"https:\/\/www.kadunew.com\/blog\/html\/como-usar-o-elemento-section-do-html5","og_site_name":"KADUNEW","article_published_time":"2010-12-30T13:39:50+00:00","article_modified_time":"2011-03-11T22:46:47+00:00","og_image":[{"width":299,"height":211,"url":"https:\/\/www.kadunew.com\/blog\/wp-content\/uploads\/2010\/12\/elemento-section-html5.jpg","type":"image\/jpeg"}],"author":"Kadu Oliveira","twitter_misc":{"Escrito por":"Kadu Oliveira","Est. tempo de leitura":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.kadunew.com\/blog\/html\/como-usar-o-elemento-section-do-html5","url":"https:\/\/www.kadunew.com\/blog\/html\/como-usar-o-elemento-section-do-html5","name":"Como usar o elemento SECTION do HTML5","isPartOf":{"@id":"https:\/\/www.kadunew.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.kadunew.com\/blog\/html\/como-usar-o-elemento-section-do-html5#primaryimage"},"image":{"@id":"https:\/\/www.kadunew.com\/blog\/html\/como-usar-o-elemento-section-do-html5#primaryimage"},"thumbnailUrl":"https:\/\/www.kadunew.com\/blog\/wp-content\/uploads\/2010\/12\/elemento-section-html5.jpg","datePublished":"2010-12-30T13:39:50+00:00","dateModified":"2011-03-11T22:46:47+00:00","author":{"@id":"https:\/\/www.kadunew.com\/blog\/#\/schema\/person\/07b2297c4825efbd1e9f2a1018926b05"},"description":"Aprenda a usar o elemento SECTION do HTML5. O SECTION serve para agrupar os conte\u00fados da p\u00e1gina que tenham rela\u00e7\u00e3o entre si.","breadcrumb":{"@id":"https:\/\/www.kadunew.com\/blog\/html\/como-usar-o-elemento-section-do-html5#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.kadunew.com\/blog\/html\/como-usar-o-elemento-section-do-html5"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.kadunew.com\/blog\/html\/como-usar-o-elemento-section-do-html5#primaryimage","url":"https:\/\/www.kadunew.com\/blog\/wp-content\/uploads\/2010\/12\/elemento-section-html5.jpg","contentUrl":"https:\/\/www.kadunew.com\/blog\/wp-content\/uploads\/2010\/12\/elemento-section-html5.jpg","width":"299","height":"211"},{"@type":"BreadcrumbList","@id":"https:\/\/www.kadunew.com\/blog\/html\/como-usar-o-elemento-section-do-html5#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.kadunew.com\/blog"},{"@type":"ListItem","position":2,"name":"HTML","item":"https:\/\/www.kadunew.com\/blog\/category\/html"},{"@type":"ListItem","position":3,"name":"Como usar o elemento SECTION do HTML5"}]},{"@type":"WebSite","@id":"https:\/\/www.kadunew.com\/blog\/#website","url":"https:\/\/www.kadunew.com\/blog\/","name":"KADUNEW","description":"Artigos sobre Front-End e Programa\u00e7\u00e3o web","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.kadunew.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":"Person","@id":"https:\/\/www.kadunew.com\/blog\/#\/schema\/person\/07b2297c4825efbd1e9f2a1018926b05","name":"Kadu Oliveira","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.kadunew.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/780660fded589936b30467c54c99d51a?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/780660fded589936b30467c54c99d51a?s=96&r=g","caption":"Kadu Oliveira"},"sameAs":["https:\/\/www.kadunew.com\/blog"],"url":"https:\/\/www.kadunew.com\/blog\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.kadunew.com\/blog\/wp-json\/wp\/v2\/posts\/1738"}],"collection":[{"href":"https:\/\/www.kadunew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kadunew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kadunew.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kadunew.com\/blog\/wp-json\/wp\/v2\/comments?post=1738"}],"version-history":[{"count":16,"href":"https:\/\/www.kadunew.com\/blog\/wp-json\/wp\/v2\/posts\/1738\/revisions"}],"predecessor-version":[{"id":2106,"href":"https:\/\/www.kadunew.com\/blog\/wp-json\/wp\/v2\/posts\/1738\/revisions\/2106"}],"wp:attachment":[{"href":"https:\/\/www.kadunew.com\/blog\/wp-json\/wp\/v2\/media?parent=1738"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kadunew.com\/blog\/wp-json\/wp\/v2\/categories?post=1738"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kadunew.com\/blog\/wp-json\/wp\/v2\/tags?post=1738"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}