{"id":285,"date":"2009-07-28T14:31:49","date_gmt":"2009-07-28T13:31:49","guid":{"rendered":"http:\/\/www.codingfriends.com\/?p=285"},"modified":"2009-07-28T14:31:49","modified_gmt":"2009-07-28T13:31:49","slug":"html-css","status":"publish","type":"post","link":"https:\/\/www.codingfriends.com\/index.php\/2009\/07\/28\/html-css\/","title":{"rendered":"HTML + CSS"},"content":{"rendered":"<p>An Cascading Style Sheet (CSS) is basically styles of a page within a block of text.  The cascading part means that the last value for a set style will be the value taken, e.g. if at the top of a style sheet there is a value of black for the back ground colour and then white is below that, the white value will take precedence over the black.<\/p>\n<p>Here is a example of styling within the tag body.<\/p>\n<pre lang=\"html4strict\">\r\n<html>\r\n       <title>Background colour<\/title>\r\n       <body bgcolor=\"#BCBCBC\">\r\n              hi world\r\n       <\/body>\r\n<\/html\r\n<\/pre>\n<p>And this is an example with CSS within the html code.<\/p>\n<pre lang=\"html4strict\">\r\n<html>\r\n       <title>Background colour with css<\/title>\r\n       <style type=\"text\/css\">\r\n              body \r\n              {\r\n                     background : #DCDCDC;       \r\n              }\r\n       <\/style>\r\n       <body>\r\n              Hi World\r\n       <\/body>\r\n<\/html>\r\n<\/pre>\n<p>There are many styles options within the html styling list, hopefully shall cover most of these in the future.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>An Cascading Style Sheet (CSS) is basically styles of a page within a block of text. The cascading part means that the last value for a set style will be the value taken, e.g. if at the top of a style sheet there is a value of black for the back ground colour and then &hellip; <a href=\"https:\/\/www.codingfriends.com\/index.php\/2009\/07\/28\/html-css\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">HTML + CSS<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[27,406],"class_list":["post-285","post","type-post","status-publish","format-standard","hentry","category-html","tag-css","tag-html"],"_links":{"self":[{"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/posts\/285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/comments?post=285"}],"version-history":[{"count":1,"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/posts\/285\/revisions"}],"predecessor-version":[{"id":286,"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/posts\/285\/revisions\/286"}],"wp:attachment":[{"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/media?parent=285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/categories?post=285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/tags?post=285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}