{"id":280,"date":"2024-09-18T09:55:50","date_gmt":"2024-09-18T12:55:50","guid":{"rendered":"https:\/\/dicasepromocoes.com.br\/web\/?page_id=280"},"modified":"2024-09-18T10:29:17","modified_gmt":"2024-09-18T13:29:17","slug":"curso-de-html-e-css-gratis-estilos","status":"publish","type":"page","link":"https:\/\/dicasepromocoes.com.br\/web\/curso-de-html-e-css-gratis-estilos\/","title":{"rendered":"Curso de html e css gr\u00e1tis &#8211; Estilos"},"content":{"rendered":"\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:25%\">\n<p class=\"has-text-align-left has-black-color has-cyan-bluish-gray-background-color has-text-color has-background has-link-color wp-elements-5f90618acff291255124721b87f9aded\"><a href=\"https:\/\/dicasepromocoes.com.br\/web\/curso-de-html-e-css-gratis\/\" data-type=\"page\" data-id=\"143\">In\u00edcio<\/a><br><a href=\"https:\/\/dicasepromocoes.com.br\/web\/curso-de-html-e-css-gratis-introducao\/\" data-type=\"page\" data-id=\"153\">Introdu\u00e7\u00e3o<\/a><br><a href=\"https:\/\/dicasepromocoes.com.br\/web\/curso-de-html-e-css-gratis-editores-html\/\" data-type=\"page\" data-id=\"170\">Editores<\/a><br><a href=\"https:\/\/dicasepromocoes.com.br\/web\/curso-de-html-e-css-gratis-exemplos-basicos\/\" data-type=\"page\" data-id=\"170\">B\u00e1sico<\/a><br><a href=\"https:\/\/dicasepromocoes.com.br\/web\/curso-de-html-e-css-gratis-elementos\/\" data-type=\"page\" data-id=\"206\">Elementos<\/a><br><a href=\"https:\/\/dicasepromocoes.com.br\/web\/curso-de-html-gratis-atributos\/\" data-type=\"page\" data-id=\"249\">Atributos<\/a><br><a href=\"https:\/\/dicasepromocoes.com.br\/web\/curso-de-html-gratis-formatacao\/\" data-type=\"page\" data-id=\"260\">Formata\u00e7\u00e3o<\/a><br><a href=\"https:\/\/dicasepromocoes.com.br\/web\/curso-de-html-e-css-gratis-titulos-ou-cabecalhos\/\" data-type=\"page\" data-id=\"275\">T\u00edtulos<\/a><br><a href=\"https:\/\/dicasepromocoes.com.br\/web\/curso-de-html-e-css-gratis-paragrafos\/\" data-type=\"page\" data-id=\"278\">Par\u00e1grafos<\/a><br><a href=\"https:\/\/dicasepromocoes.com.br\/web\/curso-de-html-e-css-gratis-citacoes\/\" data-type=\"page\" data-id=\"267\">Cita\u00e7\u00f5es<\/a><br><a href=\"https:\/\/dicasepromocoes.com.br\/web\/curso-de-html-e-css-gratis-estilos\/\" data-type=\"page\" data-id=\"280\">Estilos<\/a><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:75%\">\n<p><strong>O atributo de estilo<\/strong><\/p>\n\n\n\n<p>O atributo &lt;style&gt; \u00e9 usado para adicionar caracter\u00edsticas a um elemento, como cor, fonte, tamanho e muitos outros.<br>Definir estas caracter\u00edsticas ou estilos de um elemento HTML pode ser feito com o atributo &lt;style&gt;.<\/p>\n\n\n\n<p>O atributo de &lt;style&gt; possui a seguinte sintaxe:<\/p>\n\n\n\n<p>&lt;nome da tag style=&#8221;propriedade-valor;&#8221;&gt;<\/p>\n\n\n\n<p>Vamos usar como exemplo a propriedade cor de fundo.<\/p>\n\n\n\n<p><strong>Propriedade cor de fundo<\/strong><\/p>\n\n\n\n<p>A propriedade CSS background-color  define a cor de fundo de um elemento html.<\/p>\n\n\n\n<p>&lt;body style=&#8221;background-color:powderblue;&#8221;&gt;<br>&lt;h1&gt;Este \u00e9 um t\u00edtulo&lt;\/h1&gt;<br>&lt;p&gt;Este \u00e9 um par\u00e1grafo&lt;\/p&gt;<br>&lt;\/body&gt;<\/p>\n\n\n\n<p>Podemos tamb\u00e9m editar a propriedade background-color para outros elementos tamb\u00e9m:<\/p>\n\n\n\n<p>&lt;body style=&#8221;background-color:powderblue;&#8221;&gt;<br>&lt;h1 style=&#8221;background-color;tomato;&#8221;&gt;Este \u00e9 um t\u00edtulo&lt;\/h1&gt;<br>&lt;p style=&#8221;background-color:yellow;&#8221;&gt;Este \u00e9 um par\u00e1grafo&lt;\/p&gt;<br>&lt;\/body&gt;<\/p>\n\n\n\n<p><strong>Propriedade cor de texto<\/strong><\/p>\n\n\n\n<p>A propriedade CSS color define a cor do texto para um elemento html:<\/p>\n\n\n\n<p>&lt;h1 style=&#8221;color:green;&#8221;&gt;Este \u00e9 um t\u00edtulo&lt;\/h1&gt;<br>&lt;p style=&#8221;color:blue;&#8221;&gt;Este \u00e9 um par\u00e1grafo&lt;\/p&gt;<\/p>\n\n\n\n<p><strong>Elemento font<\/strong><\/p>\n\n\n\n<p>A propriedade font-family define a fonte a ser usada para um elemento html:<\/p>\n\n\n\n<p>&lt;h1 style=&#8221;font-family:courier;&#8221;&gt;Este \u00e9 um t\u00edtulo&lt;\/h1&gt;<br>&lt;p style=&#8221;font-family:verdana;&#8221;&gt;Este \u00e9 um par\u00e1grafo&lt;\/p&gt;<\/p>\n\n\n\n<p><strong>Elemento texto<\/strong><\/p>\n\n\n\n<p><em>Tamanho do texto<\/em><br>A propriedade CSS font-size define o tamanho do texto<\/p>\n\n\n\n<p>&lt;h1 style=&#8221;font-size:300%;&#8221;&gt;Este \u00e9 um t\u00edtulo&lt;\/h1&gt;<br>&lt;p style=&#8221;font-size:150%;&#8221;&gt;Este \u00e9 um par\u00e1grafo&lt;\/p&gt;:<\/p>\n\n\n\n<p><em>Alinhamento de texto<\/em><br>A propriedade text-align define o alinhamento horizontal do texto:<\/p>\n\n\n\n<p>&lt;h1 style=&#8221;text-align:center;&#8221;&gt;Este \u00e9 um t\u00edtulo centralizado&lt;\/h1&gt;<br>&lt;p style=&#8221;text-align:right;&#8221;&gt;Este \u00e9 um par\u00e1grafo \u00e0 direita&lt;\/p&gt;<\/p>\n\n\n\n<p>Podemos tamb\u00e9m utilizar a propriedade &lt;style&gt; com mais de uma caracter\u00edstica para os elementos:<\/p>\n\n\n\n<p>&lt;h1 style=&#8221;color:red;font-size:300%&#8221;&gt;T\u00edtulo vermelho com a fonte maior&lt;\/h1&gt;<br>&lt;p style=&#8221;background-color:yellow;text-align:center;color:green;&#8221;&gt;Par\u00e1grafo com cor de fundo amarelo, texto verde e alinhado ao centro&lt;\/p&gt;<\/p>\n\n\n\n<p><strong>NOTA<\/strong>: Durante este curso teremos muito mais informa\u00e7\u00f5es sobre CSS.<\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In\u00edcioIntrodu\u00e7\u00e3oEditoresB\u00e1sicoElementosAtributosFormata\u00e7\u00e3oT\u00edtulosPar\u00e1grafosCita\u00e7\u00f5esEstilos O atributo de estilo O atributo &lt;style&gt; \u00e9 usado para adicionar caracter\u00edsticas a um elemento, como cor, fonte, tamanho e muitos outros.Definir estas caracter\u00edsticas ou estilos de um elemento HTML pode ser feito com o atributo &lt;style&gt;. O atributo de &lt;style&gt; possui a seguinte sintaxe: &lt;nome da tag style=&#8221;propriedade-valor;&#8221;&gt; Vamos usar como exemplo a&hellip; <br \/> <a class=\"read-more\" href=\"https:\/\/dicasepromocoes.com.br\/web\/curso-de-html-e-css-gratis-estilos\/\">Leia mais<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-280","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Curso de html e css gr\u00e1tis - Estilos - Dicas e Promo\u00e7\u00f5es<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dicasepromocoes.com.br\/web\/curso-de-html-e-css-gratis-estilos\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Curso de html e css gr\u00e1tis - Estilos - Dicas e Promo\u00e7\u00f5es\" \/>\n<meta property=\"og:description\" content=\"In\u00edcioIntrodu\u00e7\u00e3oEditoresB\u00e1sicoElementosAtributosFormata\u00e7\u00e3oT\u00edtulosPar\u00e1grafosCita\u00e7\u00f5esEstilos O atributo de estilo O atributo &lt;style&gt; \u00e9 usado para adicionar caracter\u00edsticas a um elemento, como cor, fonte, tamanho e muitos outros.Definir estas caracter\u00edsticas ou estilos de um elemento HTML pode ser feito com o atributo &lt;style&gt;. O atributo de &lt;style&gt; possui a seguinte sintaxe: &lt;nome da tag style=&#8221;propriedade-valor;&#8221;&gt; Vamos usar como exemplo a&hellip; Leia mais\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dicasepromocoes.com.br\/web\/curso-de-html-e-css-gratis-estilos\/\" \/>\n<meta property=\"og:site_name\" content=\"Dicas e Promo\u00e7\u00f5es\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-18T13:29:17+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. tempo de leitura\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dicasepromocoes.com.br\/web\/curso-de-html-e-css-gratis-estilos\/\",\"url\":\"https:\/\/dicasepromocoes.com.br\/web\/curso-de-html-e-css-gratis-estilos\/\",\"name\":\"Curso de html e css gr\u00e1tis - Estilos - Dicas e Promo\u00e7\u00f5es\",\"isPartOf\":{\"@id\":\"https:\/\/dicasepromocoes.com.br\/web\/#website\"},\"datePublished\":\"2024-09-18T12:55:50+00:00\",\"dateModified\":\"2024-09-18T13:29:17+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/dicasepromocoes.com.br\/web\/curso-de-html-e-css-gratis-estilos\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dicasepromocoes.com.br\/web\/curso-de-html-e-css-gratis-estilos\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dicasepromocoes.com.br\/web\/curso-de-html-e-css-gratis-estilos\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/dicasepromocoes.com.br\/web\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Curso de html e css gr\u00e1tis &#8211; Estilos\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dicasepromocoes.com.br\/web\/#website\",\"url\":\"https:\/\/dicasepromocoes.com.br\/web\/\",\"name\":\"Dicas e Promo\u00e7\u00f5es\",\"description\":\"Dicas e Promo\u00e7\u00f5es\",\"publisher\":{\"@id\":\"https:\/\/dicasepromocoes.com.br\/web\/#\/schema\/person\/12374dada2e436caa0c456a0a91e27cd\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dicasepromocoes.com.br\/web\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/dicasepromocoes.com.br\/web\/#\/schema\/person\/12374dada2e436caa0c456a0a91e27cd\",\"name\":\"EMO\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/dicasepromocoes.com.br\/web\/wp-content\/uploads\/2024\/06\/marketing\/logo-dicas-promo.jpg\",\"url\":\"https:\/\/dicasepromocoes.com.br\/web\/wp-content\/uploads\/2024\/06\/marketing\/logo-dicas-promo.jpg\",\"contentUrl\":\"https:\/\/dicasepromocoes.com.br\/web\/wp-content\/uploads\/2024\/06\/marketing\/logo-dicas-promo.jpg\",\"width\":800,\"height\":800,\"caption\":\"EMO\"},\"logo\":{\"@id\":\"https:\/\/dicasepromocoes.com.br\/web\/wp-content\/uploads\/2024\/06\/marketing\/logo-dicas-promo.jpg\"},\"sameAs\":[\"https:\/\/dicasepromocoes.com.br\/web\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Curso de html e css gr\u00e1tis - Estilos - Dicas e Promo\u00e7\u00f5es","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:\/\/dicasepromocoes.com.br\/web\/curso-de-html-e-css-gratis-estilos\/","og_locale":"pt_BR","og_type":"article","og_title":"Curso de html e css gr\u00e1tis - Estilos - Dicas e Promo\u00e7\u00f5es","og_description":"In\u00edcioIntrodu\u00e7\u00e3oEditoresB\u00e1sicoElementosAtributosFormata\u00e7\u00e3oT\u00edtulosPar\u00e1grafosCita\u00e7\u00f5esEstilos O atributo de estilo O atributo &lt;style&gt; \u00e9 usado para adicionar caracter\u00edsticas a um elemento, como cor, fonte, tamanho e muitos outros.Definir estas caracter\u00edsticas ou estilos de um elemento HTML pode ser feito com o atributo &lt;style&gt;. O atributo de &lt;style&gt; possui a seguinte sintaxe: &lt;nome da tag style=&#8221;propriedade-valor;&#8221;&gt; Vamos usar como exemplo a&hellip; Leia mais","og_url":"https:\/\/dicasepromocoes.com.br\/web\/curso-de-html-e-css-gratis-estilos\/","og_site_name":"Dicas e Promo\u00e7\u00f5es","article_modified_time":"2024-09-18T13:29:17+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. tempo de leitura":"2 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/dicasepromocoes.com.br\/web\/curso-de-html-e-css-gratis-estilos\/","url":"https:\/\/dicasepromocoes.com.br\/web\/curso-de-html-e-css-gratis-estilos\/","name":"Curso de html e css gr\u00e1tis - Estilos - Dicas e Promo\u00e7\u00f5es","isPartOf":{"@id":"https:\/\/dicasepromocoes.com.br\/web\/#website"},"datePublished":"2024-09-18T12:55:50+00:00","dateModified":"2024-09-18T13:29:17+00:00","breadcrumb":{"@id":"https:\/\/dicasepromocoes.com.br\/web\/curso-de-html-e-css-gratis-estilos\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dicasepromocoes.com.br\/web\/curso-de-html-e-css-gratis-estilos\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/dicasepromocoes.com.br\/web\/curso-de-html-e-css-gratis-estilos\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/dicasepromocoes.com.br\/web\/"},{"@type":"ListItem","position":2,"name":"Curso de html e css gr\u00e1tis &#8211; Estilos"}]},{"@type":"WebSite","@id":"https:\/\/dicasepromocoes.com.br\/web\/#website","url":"https:\/\/dicasepromocoes.com.br\/web\/","name":"Dicas e Promo\u00e7\u00f5es","description":"Dicas e Promo\u00e7\u00f5es","publisher":{"@id":"https:\/\/dicasepromocoes.com.br\/web\/#\/schema\/person\/12374dada2e436caa0c456a0a91e27cd"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dicasepromocoes.com.br\/web\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":["Person","Organization"],"@id":"https:\/\/dicasepromocoes.com.br\/web\/#\/schema\/person\/12374dada2e436caa0c456a0a91e27cd","name":"EMO","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/dicasepromocoes.com.br\/web\/wp-content\/uploads\/2024\/06\/marketing\/logo-dicas-promo.jpg","url":"https:\/\/dicasepromocoes.com.br\/web\/wp-content\/uploads\/2024\/06\/marketing\/logo-dicas-promo.jpg","contentUrl":"https:\/\/dicasepromocoes.com.br\/web\/wp-content\/uploads\/2024\/06\/marketing\/logo-dicas-promo.jpg","width":800,"height":800,"caption":"EMO"},"logo":{"@id":"https:\/\/dicasepromocoes.com.br\/web\/wp-content\/uploads\/2024\/06\/marketing\/logo-dicas-promo.jpg"},"sameAs":["https:\/\/dicasepromocoes.com.br\/web"]}]}},"_links":{"self":[{"href":"https:\/\/dicasepromocoes.com.br\/web\/wp-json\/wp\/v2\/pages\/280","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dicasepromocoes.com.br\/web\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/dicasepromocoes.com.br\/web\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/dicasepromocoes.com.br\/web\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dicasepromocoes.com.br\/web\/wp-json\/wp\/v2\/comments?post=280"}],"version-history":[{"count":10,"href":"https:\/\/dicasepromocoes.com.br\/web\/wp-json\/wp\/v2\/pages\/280\/revisions"}],"predecessor-version":[{"id":339,"href":"https:\/\/dicasepromocoes.com.br\/web\/wp-json\/wp\/v2\/pages\/280\/revisions\/339"}],"wp:attachment":[{"href":"https:\/\/dicasepromocoes.com.br\/web\/wp-json\/wp\/v2\/media?parent=280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}