{"id":107,"date":"2018-12-19T09:48:54","date_gmt":"2018-12-19T09:48:54","guid":{"rendered":"http:\/\/people.utm.my\/aiai\/?p=107"},"modified":"2018-12-19T09:48:54","modified_gmt":"2018-12-19T09:48:54","slug":"css-introduction","status":"publish","type":"post","link":"https:\/\/people.utm.my\/aiai\/2018\/12\/19\/css-introduction\/","title":{"rendered":"CSS Introduction"},"content":{"rendered":"<h2>What is CSS?<\/h2>\n<ul>\n<li><b>CSS<\/b>\u00a0stands for\u00a0<b>C<\/b>ascading\u00a0<b>S<\/b>tyle\u00a0<b>S<\/b>heets<\/li>\n<li>CSS describes\u00a0<strong>how HTML elements are to be displayed on screen, paper, or in other media<\/strong><\/li>\n<li>CSS\u00a0<strong>saves a lot of work<\/strong>. It can control the layout of multiple web pages all at once<\/li>\n<li>External stylesheets are stored in\u00a0<b>CSS files<\/b><\/li>\n<\/ul>\n<h2>Why Use CSS?<\/h2>\n<p>CSS is used to define styles for your web pages, including the design, layout and variations in display for different devices and screen sizes.<\/p>\n<h2>CSS Solved a Big Problem<\/h2>\n<p>HTML was NEVER intended to contain tags for formatting a web page!<\/p>\n<p>HTML was created to\u00a0<strong>describe the content<\/strong>\u00a0of a web page, like:<\/p>\n<p>&lt;h1&gt;This is a heading&lt;\/h1&gt;<\/p>\n<p>&lt;p&gt;This is a paragraph.&lt;\/p&gt;<\/p>\n<p>When tags like &lt;font&gt;, and color attributes were added to the HTML 3.2 specification, it started a nightmare for web developers. Development of large websites, where fonts and color information were added to every single page, became a long and expensive process.<\/p>\n<p>To solve this problem, the World Wide Web Consortium (W3C) created CSS.<\/p>\n<p>CSS removed the style formatting from the HTML page!<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is CSS? CSS\u00a0stands for\u00a0Cascading\u00a0Style\u00a0Sheets CSS describes\u00a0how HTML elements are to be displayed on screen, paper, or in other media CSS\u00a0saves a lot of work. It can control the layout of multiple web pages all at once External stylesheets are &hellip; <a href=\"https:\/\/people.utm.my\/aiai\/2018\/12\/19\/css-introduction\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":120,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-107","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/people.utm.my\/aiai\/wp-json\/wp\/v2\/posts\/107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/people.utm.my\/aiai\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/people.utm.my\/aiai\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/people.utm.my\/aiai\/wp-json\/wp\/v2\/users\/120"}],"replies":[{"embeddable":true,"href":"https:\/\/people.utm.my\/aiai\/wp-json\/wp\/v2\/comments?post=107"}],"version-history":[{"count":1,"href":"https:\/\/people.utm.my\/aiai\/wp-json\/wp\/v2\/posts\/107\/revisions"}],"predecessor-version":[{"id":108,"href":"https:\/\/people.utm.my\/aiai\/wp-json\/wp\/v2\/posts\/107\/revisions\/108"}],"wp:attachment":[{"href":"https:\/\/people.utm.my\/aiai\/wp-json\/wp\/v2\/media?parent=107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/people.utm.my\/aiai\/wp-json\/wp\/v2\/categories?post=107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/people.utm.my\/aiai\/wp-json\/wp\/v2\/tags?post=107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}