{"id":371878,"date":"2023-03-30T05:01:03","date_gmt":"2023-03-30T05:01:03","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=371878"},"modified":"2024-06-06T06:27:36","modified_gmt":"2024-06-06T06:27:36","slug":"basic-of-html-canvas","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/basic-of-html-canvas\/","title":{"rendered":"Basic  Of HTML Canvas"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Definition:<\/h3>\n\n\n\n<p>The canvas is an HTML non-empty element that is used to draw graphics on web pages. The HTML &lt;canvas&gt; gives you an easy and powerful way to draw graphics using JavaScript.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">HTML Canvas Example<\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;canvas id=&quot;myCanvas&quot; width=&quot;200&quot; height=&quot;200&quot;&gt;&lt;\/canvas&gt;<\/pre>\n\n\n\n<p>The width and height attribute is necessary to define the size of the canvas.<\/p>\n\n\n\n<p>The &lt;canvas&gt; element must have an id attribute so it can be referred to by JavaScript.<\/p>\n\n\n\n<p>By default, the &lt;canvas&gt; element has no border and no content we can add a border and other styles using CSS.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How to draw the canvas With JavaScript.<\/h3>\n\n\n\n<p><strong>Note:-<\/strong> The &lt;canvas&gt; element is only a container for graphics. You must use a script to actually draw the graphics.<\/p>\n\n\n\n<p>Step 1: Define the canvas by using &lt;canvas&gt; element.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;canvas id=&quot;myCanvas&quot; width=&quot;200&quot; height=&quot;200&quot; style=&quot;border:solid&quot;&gt;&lt;\/canvas&gt;<\/pre>\n\n\n\n<p>Step 2: Find the Canvas Element by using the HTML DOM method getElementById():<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">var canvas = document.getElementById(&quot;myCanvas&quot;);<\/pre>\n\n\n\n<p>Step 3: Create a Drawing Object<\/p>\n\n\n\n<p>The getContext() is a predefined HTML object, with properties and methods for drawing:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">var obj = canvas.getContext(&quot;2d&quot;);<\/pre>\n\n\n\n<p>Step 4: Set the fill style of the drawing object.<\/p>\n\n\n\n<p>In my example we fill the style of the drawing object to the color blue:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">obj.fillStyle = &quot;blue&quot;;<\/pre>\n\n\n\n<p>The fillStyle property can be a CSS color, a gradient, or a pattern. The default fillStyle is black.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Overall code:<\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;!DOCTYPE html&gt;\n&lt;head&gt;\n    &lt;title&gt;HTML Camvas&lt;\/title&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n    &lt;canvas id=&quot;myCanvas&quot; width=&quot;200&quot; height=&quot;200&quot; style=&quot;border: solid;&quot;&gt;&lt;\/canvas&gt;\n    &lt;script&gt;\n        var canvas = document.getElementById(&quot;myCanvas&quot;);\n        var obj = canvas.getContext(&quot;2d&quot;);\n        obj.fillStyle = &quot;blue&quot;;\n        obj.fillRect(0,0,200,200);\n    &lt;\/script&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/pre>\n\n\n\n<p>In the above code, we used the fillRect(x, y, width, height) method to draw a rectangle, filled with the fill style, on the canvas.<\/p>\n\n\n\n<p class=\"has-text-align-center\">-:Output:-<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"610\" height=\"287\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/Screenshot-from-2023-03-20-11-00-24.png\" alt=\"OUTPUT\" class=\"wp-image-373085\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/Screenshot-from-2023-03-20-11-00-24.png 610w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/Screenshot-from-2023-03-20-11-00-24-300x141.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/Screenshot-from-2023-03-20-11-00-24-250x118.png 250w\" sizes=\"(max-width: 610px) 100vw, 610px\" loading=\"lazy\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\"><\/h3>\n\n\n\n<p>If you need custom\u00a0<a href=\"https:\/\/webkul.com\/website-development\/\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress Development services<\/a>\u00a0or <a href=\"https:\/\/webkul.com\/wordpress-theme-development-services\/\">WordPress Theme Development Service<\/a> then feel free to\u00a0<a href=\"https:\/\/webkul.com\/contacts\" target=\"_blank\" rel=\"noreferrer noopener\">reach us<\/a>.<\/p>\n\n\n\n<p>!!Have a Great Day Ahead!!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Definition: The canvas is an HTML non-empty element that is used to draw graphics on web pages. The HTML &lt;canvas&gt; gives you an easy and powerful way to draw graphics using JavaScript. HTML Canvas Example The width and height attribute is necessary to define the size of the canvas. The &lt;canvas&gt; element must have an <a href=\"https:\/\/webkul.com\/blog\/basic-of-html-canvas\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":504,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7966,1260],"tags":[1258,13679,1501],"class_list":["post-371878","post","type-post","status-publish","format-standard","hentry","category-wordpress-woocommerce","category-wordpress","tag-wordpress","tag-wordpress-development-services","tag-wordpress-plugin"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Basic Of HTML Canvas - Webkul Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/basic-of-html-canvas\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Basic Of HTML Canvas - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"Definition: The canvas is an HTML non-empty element that is used to draw graphics on web pages. The HTML &lt;canvas&gt; gives you an easy and powerful way to draw graphics using JavaScript. HTML Canvas Example The width and height attribute is necessary to define the size of the canvas. The &lt;canvas&gt; element must have an [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/basic-of-html-canvas\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-30T05:01:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-06T06:27:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/03\/Screenshot-from-2023-03-20-11-00-24.png\" \/>\n<meta name=\"author\" content=\"Sani Kumar Pandey\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sani Kumar Pandey\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/basic-of-html-canvas\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/basic-of-html-canvas\/\"},\"author\":{\"name\":\"Sani Kumar Pandey\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/5f9d27035e753438525c6bd1883d38bb\"},\"headline\":\"Basic Of HTML Canvas\",\"datePublished\":\"2023-03-30T05:01:03+00:00\",\"dateModified\":\"2024-06-06T06:27:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/basic-of-html-canvas\/\"},\"wordCount\":261,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/basic-of-html-canvas\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/03\/Screenshot-from-2023-03-20-11-00-24.png\",\"keywords\":[\"wordpress\",\"wordpress development services\",\"wordpress plugin\"],\"articleSection\":[\"WooCommerce\",\"WordPress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/basic-of-html-canvas\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/basic-of-html-canvas\/\",\"url\":\"https:\/\/webkul.com\/blog\/basic-of-html-canvas\/\",\"name\":\"Basic Of HTML Canvas - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/basic-of-html-canvas\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/basic-of-html-canvas\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/03\/Screenshot-from-2023-03-20-11-00-24.png\",\"datePublished\":\"2023-03-30T05:01:03+00:00\",\"dateModified\":\"2024-06-06T06:27:36+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/basic-of-html-canvas\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/basic-of-html-canvas\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/basic-of-html-canvas\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/Screenshot-from-2023-03-20-11-00-24.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/Screenshot-from-2023-03-20-11-00-24.png\",\"width\":610,\"height\":287,\"caption\":\"Screenshot-from-2023-03-20-11-00-24\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/basic-of-html-canvas\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Basic Of HTML Canvas\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/5f9d27035e753438525c6bd1883d38bb\",\"name\":\"Sani Kumar Pandey\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/64247189d8335f5422a695ad0be257135e6141aaf069f27a205cdbbf90555797?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/64247189d8335f5422a695ad0be257135e6141aaf069f27a205cdbbf90555797?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Sani Kumar Pandey\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/sanikrpandey-wp248\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Basic Of HTML Canvas - Webkul Blog","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:\/\/webkul.com\/blog\/basic-of-html-canvas\/","og_locale":"en_US","og_type":"article","og_title":"Basic Of HTML Canvas - Webkul Blog","og_description":"Definition: The canvas is an HTML non-empty element that is used to draw graphics on web pages. The HTML &lt;canvas&gt; gives you an easy and powerful way to draw graphics using JavaScript. HTML Canvas Example The width and height attribute is necessary to define the size of the canvas. The &lt;canvas&gt; element must have an [...]","og_url":"https:\/\/webkul.com\/blog\/basic-of-html-canvas\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2023-03-30T05:01:03+00:00","article_modified_time":"2024-06-06T06:27:36+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/03\/Screenshot-from-2023-03-20-11-00-24.png","type":"","width":"","height":""}],"author":"Sani Kumar Pandey","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Sani Kumar Pandey","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/basic-of-html-canvas\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/basic-of-html-canvas\/"},"author":{"name":"Sani Kumar Pandey","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/5f9d27035e753438525c6bd1883d38bb"},"headline":"Basic Of HTML Canvas","datePublished":"2023-03-30T05:01:03+00:00","dateModified":"2024-06-06T06:27:36+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/basic-of-html-canvas\/"},"wordCount":261,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/basic-of-html-canvas\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/03\/Screenshot-from-2023-03-20-11-00-24.png","keywords":["wordpress","wordpress development services","wordpress plugin"],"articleSection":["WooCommerce","WordPress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/basic-of-html-canvas\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/basic-of-html-canvas\/","url":"https:\/\/webkul.com\/blog\/basic-of-html-canvas\/","name":"Basic Of HTML Canvas - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/basic-of-html-canvas\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/basic-of-html-canvas\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/03\/Screenshot-from-2023-03-20-11-00-24.png","datePublished":"2023-03-30T05:01:03+00:00","dateModified":"2024-06-06T06:27:36+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/basic-of-html-canvas\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/basic-of-html-canvas\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/basic-of-html-canvas\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/Screenshot-from-2023-03-20-11-00-24.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/03\/Screenshot-from-2023-03-20-11-00-24.png","width":610,"height":287,"caption":"Screenshot-from-2023-03-20-11-00-24"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/basic-of-html-canvas\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Basic Of HTML Canvas"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/5f9d27035e753438525c6bd1883d38bb","name":"Sani Kumar Pandey","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/64247189d8335f5422a695ad0be257135e6141aaf069f27a205cdbbf90555797?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/64247189d8335f5422a695ad0be257135e6141aaf069f27a205cdbbf90555797?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Sani Kumar Pandey"},"url":"https:\/\/webkul.com\/blog\/author\/sanikrpandey-wp248\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/371878","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/504"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=371878"}],"version-history":[{"count":10,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/371878\/revisions"}],"predecessor-version":[{"id":445950,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/371878\/revisions\/445950"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=371878"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=371878"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=371878"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}