{"id":105,"date":"2022-01-12T22:24:34","date_gmt":"2022-01-12T22:24:34","guid":{"rendered":"https:\/\/melfaeforest.xhere.eu.org\/?p=105"},"modified":"2022-02-02T21:41:25","modified_gmt":"2022-02-02T21:41:25","slug":"html-css-course-day-6-type-of-blocks-inline-block","status":"publish","type":"post","link":"https:\/\/melfaeforest.xhere.eu.org\/?p=105","title":{"rendered":"HTML\/CSS Course \u2013 Day 6 \u2013 Type of Blocks: Inline-Block"},"content":{"rendered":"\n<p>There are 3 main types of blocks in HTML: Block-Level, Inline, and Inline-Block. This entry will cover the third of the 3 elements: Inline-Block.<\/p>\n\n\n\n<p>Inline-Blocks takes the best of both worlds of Block-Level and Inline, with looking like Inline on the outside, but behaves like Block-Level on the inside. Inline-Block occupies only the necessary space of the content, and causes no line-breaks, much like Inline; they can be affected by padding and margin, much like Block-Level.<\/p>\n\n\n\n<p>To turn an element into an Inline-Block, use \u201cdisplay: inline-block\u201d.<\/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 third of the 3 elements: Inline-Block. Inline-Blocks takes the best of both worlds of Block-Level and Inline, with looking like Inline on the outside, but behaves like Block-Level on the inside. Inline-Block occupies only the necessary space [&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-105","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\/105","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=105"}],"version-history":[{"count":2,"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=\/wp\/v2\/posts\/105\/revisions"}],"predecessor-version":[{"id":280,"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=\/wp\/v2\/posts\/105\/revisions\/280"}],"wp:attachment":[{"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=105"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=105"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}