{"id":15116,"date":"2016-04-04T18:18:06","date_gmt":"2016-04-04T18:18:06","guid":{"rendered":"http:\/\/www.oracletutoring.ca\/blog\/?p=15116"},"modified":"2016-04-04T18:18:06","modified_gmt":"2016-04-04T18:18:06","slug":"css-can-the-body-have-a-class-and-id","status":"publish","type":"post","link":"https:\/\/www.oracletutoring.ca\/blog\/css-can-the-body-have-a-class-and-id\/","title":{"rendered":"CSS:  can the body have a class and id?"},"content":{"rendered":"<div id=\"id_apr4_2016_01\">\n<h1>The tutor shares some findings about css.<\/h1>\n<p>Experimenting with CSS lately, an idea came to me:  can the body of an html page have an id?  How about a class?<\/p>\n<p>Apparently, the body can have either.  Why not, one might ask.  To me, since it&#8217;s just &#8220;the body&#8221;, giving it an id or class isn&#8217;t an obvious idea.<\/p>\n<p>Anyway, the body can be styled using CSS class or id designations.  I&#8217;ll be giving some examples in future posts:)<\/p>\n<p>Jack of <a href=\"https:\/\/www.oracletutoring.ca\">Oracle Tutoring by Jack and Diane,<\/a> Campbell River, BC.\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The tutor shares some findings about css. Experimenting with CSS lately, an idea came to me: can the body of an html page have an id? How about a class? Apparently, the body can have either. Why not, one might &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.oracletutoring.ca\/blog\/css-can-the-body-have-a-class-and-id\/\"> <span class=\"screen-reader-text\">CSS:  can the body have a class and id?<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[837],"tags":[1547,1546,1545],"class_list":["post-15116","post","type-post","status-publish","format-standard","hentry","category-web-design","tag-css","tag-css-class-with-body","tag-css-id-with-body"],"_links":{"self":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/15116","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/comments?post=15116"}],"version-history":[{"count":12,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/15116\/revisions"}],"predecessor-version":[{"id":15128,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/15116\/revisions\/15128"}],"wp:attachment":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/media?parent=15116"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/categories?post=15116"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/tags?post=15116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}