{"id":1686,"date":"2016-09-22T03:44:36","date_gmt":"2016-09-22T03:44:36","guid":{"rendered":"http:\/\/codethataint.com\/blog\/?p=1686"},"modified":"2016-09-22T03:44:36","modified_gmt":"2016-09-22T03:44:36","slug":"relative-vs-absolute-path","status":"publish","type":"post","link":"https:\/\/codethataint.com\/blog\/relative-vs-absolute-path\/","title":{"rendered":"relative vs absolute path"},"content":{"rendered":"<p><strong>The path with reference to root directory is called absolute. The path with reference to current directory is called relative.<br \/>\n<\/strong><\/p>\n<p><em>Completely relative:<\/em><\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n &lt;img src=&quot;kitten.png&quot;\/&gt;   \r\n<\/pre>\n<p><em>Absolute in all respects: <\/em><\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;img src=&quot;http:\/\/www.foo.com\/images\/kitten.png&quot;&gt;\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The path with reference to root directory is called absolute. The path with reference to current directory is called relative. Completely relative: &lt;img src=&quot;kitten.png&quot;\/&gt; Absolute in all respects: &lt;img src=&quot;http:\/\/www.foo.com\/images\/kitten.png&quot;&gt;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[53],"tags":[],"class_list":["post-1686","post","type-post","status-publish","format-standard","hentry","category-jsp"],"_links":{"self":[{"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/posts\/1686","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/comments?post=1686"}],"version-history":[{"count":1,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/posts\/1686\/revisions"}],"predecessor-version":[{"id":1687,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/posts\/1686\/revisions\/1687"}],"wp:attachment":[{"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/media?parent=1686"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/categories?post=1686"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/tags?post=1686"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}