{"id":80,"date":"2022-01-10T23:28:03","date_gmt":"2022-01-10T23:28:03","guid":{"rendered":"https:\/\/melfaeforest.xhere.eu.org\/?p=80"},"modified":"2022-02-02T21:43:26","modified_gmt":"2022-02-02T21:43:26","slug":"html-css-course-day-4-basic-css","status":"publish","type":"post","link":"https:\/\/melfaeforest.xhere.eu.org\/?p=80","title":{"rendered":"HTML\/CSS Course \u2013 Day 4 \u2013 Basic CSS"},"content":{"rendered":"\n<p>CSS has 3 ways to stylize HTML: Inline, Internal, and External. Inline has the CSS directly inside the HTML tags, Internal has the CSS inside a &lt;style&gt; tag inside the &lt;head&gt; parent tag of the HTML file, and External has the CSS in a completely different file that ends in \u201c.css\u201d.<\/p>\n\n\n\n<p>Inline and Internal stylizing isn\u2019t recommended due to making navigation harder and with there being the External CSS way of implementing CSS to a site. Also to import a CSS file to HTML for the site to use, &lt;link ref=\u201dstylesheet\u201d href=\u201dstyle.css\u201d&gt; is put inside the &lt;head&gt; tag of the HTML file.<\/p>\n\n\n\n<p>Internal and External CSS has 5 parts:<\/p>\n\n\n\n<p>1) The selector, which targets the tag itself.<\/p>\n\n\n\n<p>2) The declaration block, which uses curly brackets to signify that inside the block gets applied to the targeted tag.<\/p>\n\n\n\n<p>3) The declaration \/ style, which is the styling to apply to the tag.<\/p>\n\n\n\n<p>4 &amp; 5) The property and the value. CSS Property is like \u201cfont-size\u201d, \u201cfont-family\u201d, \u201ccolor\u201d, etc., and the value is what that property is assigned with, such as \u201cblue\u201d, \u201c20px\u201d, \u201c40%\u201d, etc. Theses two are what the declaration \/ style applies to the tag.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CSS has 3 ways to stylize HTML: Inline, Internal, and External. Inline has the CSS directly inside the HTML tags, Internal has the CSS inside a &lt;style&gt; tag inside the &lt;head&gt; parent tag of the HTML file, and External has the CSS in a completely different file that ends in \u201c.css\u201d. Inline and Internal stylizing [&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-80","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\/80","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=80"}],"version-history":[{"count":2,"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=\/wp\/v2\/posts\/80\/revisions"}],"predecessor-version":[{"id":292,"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=\/wp\/v2\/posts\/80\/revisions\/292"}],"wp:attachment":[{"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=80"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=80"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/melfaeforest.xhere.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=80"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}