{"id":103,"date":"2022-01-12T22:24:11","date_gmt":"2022-01-12T22:24:11","guid":{"rendered":"https:\/\/melfaeforest.xhere.eu.org\/?p=103"},"modified":"2022-02-02T21:41:31","modified_gmt":"2022-02-02T21:41:31","slug":"html-css-course-day-6-type-of-blocks-inline","status":"publish","type":"post","link":"https:\/\/melfaeforest.xhere.eu.org\/?p=103","title":{"rendered":"HTML\/CSS Course \u2013 Day 6 \u2013 Type of Blocks: Inline"},"content":{"rendered":"\n<p>There are 3 main types of blocks in HTML: Block-Level, Inline, and Inline-Block. This entry will cover the second of the 3 elements: Inline.<\/p>\n\n\n\n<p>Inline elements, unlike Block-Level elements, only occupies the space necessary for its content; causes no line-breaks after or before the element. Box models also applies in a different way to Inline blocks: height and widths DO NOT apply to them; padding and margins only applies to their left and right side.<\/p>\n\n\n\n<p>Default element examples: &lt;a&gt;, &lt;img&gt;, &lt;strong&gt;, &lt;em&gt;, &lt;button&gt;.<\/p>\n\n\n\n<p>With CSS: display: inline;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are 3 main types of blocks in HTML: Block-Level, Inline, and Inline-Block. This entry will cover the second of the 3 elements: Inline. Inline elements, unlike Block-Level elements, only occupies the space necessary for its content; causes no line-breaks after or before the element. Box models also applies in a different way to Inline [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[6],"class_list":["post-103","post","type-post","status-publish","format-standard","hentry","category-html-css-course","tag-html-css-course"],"_links":{"self":[{"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=\/wp\/v2\/posts\/103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=103"}],"version-history":[{"count":2,"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=\/wp\/v2\/posts\/103\/revisions"}],"predecessor-version":[{"id":281,"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=\/wp\/v2\/posts\/103\/revisions\/281"}],"wp:attachment":[{"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}