{"id":23284,"date":"2020-03-04T21:15:45","date_gmt":"2020-03-04T13:15:45","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=23284"},"modified":"2022-07-15T17:01:21","modified_gmt":"2022-07-15T09:01:21","slug":"html-base-element","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/html-base-element\/","title":{"rendered":"Specifying Document Base URL With HTML &lt;base&gt; Element"},"content":{"rendered":"<p>Websites are built with a series of links, pointing to pages and sources like images and stylesheets. There are two ways to <strong>specify the URL that links to these sources<\/strong>: either use an absolute path or relative path.<\/p>\n<p>The absolute path refers to specific destination, typically it\u2019s started with the domain name (along with HTTP) like <code>www.domain.com\/destination\/source.jpg<\/code>. The relative path is the opposite: the link destination depends on the root location or in most cases the domain name of your website.<\/p>\n<p>A typical relative path would look like this below:<\/p>\n<pre>\r\n&lt;img src=\"\/assets\/img\/image.png\" alt=\"\"&gt;\r\n<\/pre>\n<p>If your website domain is, for example, <code>hongkiat.com<\/code> the image path would resolve to <code>hongkiat.com\/assets\/img\/image.png<\/code>. You should understand this if you have been developing website for a while.<\/p>\n<p>But most of you probably have not heard about the <code>&lt;base&gt;<\/code> element. This HTML tag has been around since HTML4, yet very little is seen of its implementation in the wild. W3C describes this <a href=\"https:\/\/www.w3.org\/wiki\/HTML\/Elements\/base\">element<\/a> as:<\/p>\n<p><em>\u201cThe base element allows authors to specify <strong>the document base URL<\/strong> for the purposes of resolving relative URLs, and the name of <strong>the default browsing context<\/strong> for the purposes of following hyperlinks.\u201d<\/em><\/p>\n<p>This <code>&lt;base&gt;<\/code> element basically decides the base URL for relative path in web pages. Instead of depending on the root location or the domain of your website, you can point it out to somewhere else, perhaps like the URL where your resources reside in CDN (Content Delivery Network). Let\u2019s see how that actually works.<\/p>\n<h2>Using the Base Element<\/h2>\n<p>The <code>&lt;base&gt;<\/code> is defined along side the <code>&lt;meta&gt;<\/code> and <code>&lt;link&gt;<\/code> tags within the <code>&lt;head&gt;<\/code>. Given the following example, we set the base URL to Google.<\/p>\n<pre>\r\n&lt;base href=\"http:\/\/hongkiat.maxcdn.com\/assets\/\"&gt;\r\n<\/pre>\n<p>This specification will affect all the paths within the document, including one that is specified within the <code>href<\/code> attribute and the <code>src<\/code> of the images. So, assuming we have a stylesheet, images, and links in the document set with a relative path like this, for example:<\/p>\n<pre>\r\n&lt;link rel=\"stylesheet\" href=\"path\/main.css\"&gt;\r\n&lt;a href=\"path\/page\/sub-page\/\"&gt;Anchor Link&lt;\/a&gt;\r\n&lt;img src=\"path\/image.jpg\"&gt;\r\n<\/pre>\n<p>Even though our web page is under <code>demo.hongkiat.com<\/code> the relative path will refer to <code>hongkiat.maxcdn.com<\/code>, following the base path specified in the <code>&lt;base&gt;<\/code> tag. Try hovering over the link, and the browser will show you where the path is exactly heading to.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/html-base-element\/the-url-path.jpg\" alt=\"url path\" width=\"700\" height=\"365\"><\/figure>\n<p>All the relative paths will eventually be:<\/p>\n<pre>\r\n&lt;link rel=\"stylesheet\" href=\"http:\/\/hongkiat.maxcdn.com\/assets\/path\/main.css\"&gt;\r\n&lt;a href=\"http:\/\/hongkiat.maxcdn.com\/assets\/path\/page\/sub-page\/\"&gt;Anchor Link&lt;\/a&gt;\r\n&lt;img src=\"http:\/\/hongkiat.maxcdn.com\/assets\/path\/image.jpg\"&gt;\r\n<\/pre>\n<h2>Setting the Default Link target<\/h2>\n<p>Aside from defining the base URL, the <code>&lt;base&gt;<\/code> tag can also set the default link target through the <code>target<\/code> attribute. Say you want all the link in the document to open <strong>in the browser new tab<\/strong>, set the <code>target<\/code> with <code>_blank<\/code>, like so.<\/p>\n<pre>\r\n&lt;base href=\"http:\/\/hongkiat.maxcdn.com\/assets\/\" target=\"_blank\"&gt;\r\n<\/pre>\n<h3>Limitations<\/h3>\n<p>The <code>&lt;base&gt;<\/code> tag, however, holds a couple of caveats in some circumstances:<\/p>\n<p>First, the <code>&lt;base&gt;<\/code> browser support is great; it works in IE6. But, IE6 thinks that it requires a closing tag <code>&lt;\/base&gt;<\/code>. This could cause a hierarchy issue in the document, if the closing tag is left unspecified. A simple quick way to address this issue is by adding <code>&lt;\/base&gt;<\/code> closing within a comment, <code>&lt;!--[if lte IE 6]&gt;&lt;\/base&gt;&lt;![endif]--&gt;<\/code>.<\/p>\n<p>If you are using <code>#<\/code> in conjunction with the <code>&lt;base&gt;<\/code> to link to sections within the document, you may potentially encounter an issue in Internet Explorer 9. Instead of jumping to the referred section, Internet Explorer 9 will reload the page.<\/p>\n<p>Furthermore, a blank <code>href<\/code> will result in the base URL instead of linking to the current directory where the page resides (this is default browser behavior), which could cause unexpected referencing issues.<\/p>\n<h2>Wrap Up<\/h2>\n<p>The <code>&lt;base&gt;<\/code> is a handy HTML feature that may simplify link referencing in a web document. Use the tag considerately to minimize the pitfalls. Follow these reference below for more on the <code>&lt;base&gt;<\/code> tag:<\/p>\n<ul>\n<li><a target=\"_blank\" href=\"https:\/\/docs.microsoft.com\/en-gb\/\" rel=\"noopener noreferrer\">Absolute and Relative URLs<\/a> \u2014 MSDN<\/li>\n<li><a target=\"_blank\" href=\"https:\/\/www.w3.org\/wiki\/HTML\/Elements\/base\" rel=\"noopener noreferrer\">HTML Base Element<\/a> \u2014 W3C<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Websites are built with a series of links, pointing to pages and sources like images and stylesheets. There are two ways to specify the URL that links to these sources: either use an absolute path or relative path. The absolute path refers to specific destination, typically it\u2019s started with the domain name (along with HTTP)&hellip;<\/p>\n","protected":false},"author":113,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3392],"tags":[506],"topic":[4520],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Specifying Document Base URL With HTML &lt;base&gt; Element - Hongkiat<\/title>\n<meta name=\"description\" content=\"Websites are built with a series of links, pointing to pages and sources like images and stylesheets. There are two ways to specify the URL that links to\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/html-base-element\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Specifying Document Base URL With HTML &lt;base&gt; Element\" \/>\n<meta property=\"og:description\" content=\"Websites are built with a series of links, pointing to pages and sources like images and stylesheets. There are two ways to specify the URL that links to\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/html-base-element\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2020-03-04T13:15:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-07-15T09:01:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/html-base-element\/the-url-path.jpg\" \/>\n<meta name=\"author\" content=\"Thoriq Firdaus\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@tfirdaus\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Thoriq Firdaus\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/html-base-element\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/html-base-element\\\/\"},\"author\":{\"name\":\"Thoriq Firdaus\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e7948c7a175d211496331e4b6ce55807\"},\"headline\":\"Specifying Document Base URL With HTML &lt;base&gt; Element\",\"datePublished\":\"2020-03-04T13:15:45+00:00\",\"dateModified\":\"2022-07-15T09:01:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/html-base-element\\\/\"},\"wordCount\":583,\"commentCount\":6,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/html-base-element\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/html-base-element\\\/the-url-path.jpg\",\"keywords\":[\"HTML\"],\"articleSection\":[\"Coding\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/html-base-element\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/html-base-element\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/html-base-element\\\/\",\"name\":\"Specifying Document Base URL With HTML &lt;base&gt; Element - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/html-base-element\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/html-base-element\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/html-base-element\\\/the-url-path.jpg\",\"datePublished\":\"2020-03-04T13:15:45+00:00\",\"dateModified\":\"2022-07-15T09:01:21+00:00\",\"description\":\"Websites are built with a series of links, pointing to pages and sources like images and stylesheets. There are two ways to specify the URL that links to\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/html-base-element\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/html-base-element\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/html-base-element\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/html-base-element\\\/the-url-path.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/html-base-element\\\/the-url-path.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/html-base-element\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Specifying Document Base URL With HTML &lt;base&gt; Element\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e7948c7a175d211496331e4b6ce55807\",\"name\":\"Thoriq Firdaus\",\"description\":\"Thoriq is a writer for Hongkiat.com with a passion for web design and development. He is the author of Responsive Web Design by Examples, where he covered his best approaches in developing responsive websites quickly with a framework.\",\"sameAs\":[\"https:\\\/\\\/thoriq.com\",\"https:\\\/\\\/x.com\\\/tfirdaus\"],\"jobTitle\":\"Web Developer\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/thoriq\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Specifying Document Base URL With HTML &lt;base&gt; Element - Hongkiat","description":"Websites are built with a series of links, pointing to pages and sources like images and stylesheets. There are two ways to specify the URL that links to","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hongkiat.com\/blog\/html-base-element\/","og_locale":"en_US","og_type":"article","og_title":"Specifying Document Base URL With HTML &lt;base&gt; Element","og_description":"Websites are built with a series of links, pointing to pages and sources like images and stylesheets. There are two ways to specify the URL that links to","og_url":"https:\/\/www.hongkiat.com\/blog\/html-base-element\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2020-03-04T13:15:45+00:00","article_modified_time":"2022-07-15T09:01:21+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/html-base-element\/the-url-path.jpg","type":"","width":"","height":""}],"author":"Thoriq Firdaus","twitter_card":"summary_large_image","twitter_creator":"@tfirdaus","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Thoriq Firdaus","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/html-base-element\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/html-base-element\/"},"author":{"name":"Thoriq Firdaus","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e7948c7a175d211496331e4b6ce55807"},"headline":"Specifying Document Base URL With HTML &lt;base&gt; Element","datePublished":"2020-03-04T13:15:45+00:00","dateModified":"2022-07-15T09:01:21+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/html-base-element\/"},"wordCount":583,"commentCount":6,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/html-base-element\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/html-base-element\/the-url-path.jpg","keywords":["HTML"],"articleSection":["Coding"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/html-base-element\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/html-base-element\/","url":"https:\/\/www.hongkiat.com\/blog\/html-base-element\/","name":"Specifying Document Base URL With HTML &lt;base&gt; Element - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/html-base-element\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/html-base-element\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/html-base-element\/the-url-path.jpg","datePublished":"2020-03-04T13:15:45+00:00","dateModified":"2022-07-15T09:01:21+00:00","description":"Websites are built with a series of links, pointing to pages and sources like images and stylesheets. There are two ways to specify the URL that links to","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/html-base-element\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/html-base-element\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/html-base-element\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/html-base-element\/the-url-path.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/html-base-element\/the-url-path.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/html-base-element\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Specifying Document Base URL With HTML &lt;base&gt; Element"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e7948c7a175d211496331e4b6ce55807","name":"Thoriq Firdaus","description":"Thoriq is a writer for Hongkiat.com with a passion for web design and development. He is the author of Responsive Web Design by Examples, where he covered his best approaches in developing responsive websites quickly with a framework.","sameAs":["https:\/\/thoriq.com","https:\/\/x.com\/tfirdaus"],"jobTitle":"Web Developer","url":"https:\/\/www.hongkiat.com\/blog\/author\/thoriq\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-63y","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/23284","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/113"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=23284"}],"version-history":[{"count":3,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/23284\/revisions"}],"predecessor-version":[{"id":49411,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/23284\/revisions\/49411"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=23284"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=23284"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=23284"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=23284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}