{"id":138,"date":"2020-12-19T15:09:00","date_gmt":"2020-12-19T13:09:00","guid":{"rendered":"https:\/\/html-online.com\/articles\/?p=138"},"modified":"2020-12-24T11:43:46","modified_gmt":"2020-12-24T09:43:46","slug":"detecting-mousedown-dektop-touchstart-mobile-devices-javascript","status":"publish","type":"post","link":"https:\/\/html-online.com\/articles\/detecting-mousedown-dektop-touchstart-mobile-devices-javascript\/","title":{"rendered":"Detecting MouseDown on Dektop and TouchStart on Mobile Devices"},"content":{"rendered":"<p>This short <a href=\"\/articles\/category\/javascript\/\">JavaScript<\/a> <a href=\"\/articles\/category\/jquery\/\">jQuery<\/a> code detects MouseDown \/ MouseUp event on desktop browsers and it handles TouchStart \/ TouchEnd events on touchscreen devices. We need this because MouseDown never fires on touch devices and vice versa TouchStart never triggers on devices using mouse pointer.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-139\" src=\"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2017\/01\/detect-mousedown-desktop-touch-devices.jpg\" alt=\"detect mousedown desktop touch devices\" width=\"200\" height=\"212\"><!--more--><\/p>\n<h2>The jQuery Code<\/h2>\n<pre style=\"background: #fff; color: #000;\"><span style=\"color: #687687;\">$<\/span>(<span style=\"color: #6d79de; font-weight: bold;\">document<\/span>).ready(function () {\n    var isTouchDevice <span style=\"color: #687687;\">=<\/span> <span style=\"color: #d80800;\">'ontouchstart'<\/span> <span style=\"color: #687687;\">in<\/span> <span style=\"color: #6d79de; font-weight: bold;\">document<\/span>.<span style=\"color: #06960e; font-weight: bold;\">documentElement<\/span>;\n    \n    <span style=\"color: #687687;\">$<\/span>(<span style=\"color: #d80800;\">\"#touchSensitive\"<\/span>).mousedown(function(<span style=\"color: #6d79de; font-weight: bold;\">event<\/span>) {\n        <span style=\"color: #0100b6; font-weight: bold;\">if<\/span> (isTouchDevice <span style=\"color: #687687;\">==<\/span> <span style=\"color: #585cf6; font-style: italic;\">false<\/span>) {   \n            pushed();   \n        }\n    });\n    <span style=\"color: #687687;\">$<\/span>(<span style=\"color: #d80800;\">\"#touchSensitive\"<\/span>).mouseup(function(<span style=\"color: #6d79de; font-weight: bold;\">event<\/span>) {\n        <span style=\"color: #0100b6; font-weight: bold;\">if<\/span> (isTouchDevice <span style=\"color: #687687;\">==<\/span> <span style=\"color: #585cf6; font-style: italic;\">false<\/span>) {   \n            released(); \n        }\n    });\n    <span style=\"color: #687687;\">$<\/span>(<span style=\"color: #d80800;\">'#touchSensitive'<\/span>).on(<span style=\"color: #d80800;\">'touchstart'<\/span>, function(){\n        <span style=\"color: #0100b6; font-weight: bold;\">if<\/span> (isTouchDevice)  {   \n            pushed();   \n        }\n    });\n    <span style=\"color: #687687;\">$<\/span>(<span style=\"color: #d80800;\">'#touchSensitive'<\/span>).on(<span style=\"color: #d80800;\">'touchend'<\/span>, function(){\n        <span style=\"color: #0100b6; font-weight: bold;\">if<\/span> (isTouchDevice)  {   \n            released(); \n        }\n    });\n});\n<\/pre>\n<p>We place the script in the $(document).ready section which is run once when the Document Object Model (DOM) is ready for JavaScript code to execute.<br \/>\nThe <strong>isTouchDevice<\/strong> variable carries a true\/false value, whether the device is a touch device or not. In my example the<strong> pushed()<\/strong> function is called on touch start and mouse down, while the <strong>released()&nbsp;<\/strong>is executed then the mouse click or the touch ends.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This short JavaScript jQuery code detects MouseDown \/ MouseUp event on desktop browsers and it handles TouchStart \/ TouchEnd events on touchscreen devices. We need this because MouseDown never fires on touch devices and vice versa TouchStart never triggers on devices using mouse pointer.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,5],"tags":[],"class_list":["post-138","post","type-post","status-publish","format-standard","hentry","category-articles","category-javascript"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Detecting MouseDown on Dektop and TouchStart on Mobile Devices<\/title>\n<meta name=\"description\" content=\"This short JavaScript jQuery code detects MouseDown \/ MouseUp event on desktop browsers and it handles TouchStart \/ TouchEnd events on touchscreen devices.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/html-online.com\/articles\/detecting-mousedown-dektop-touchstart-mobile-devices-javascript\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Detecting MouseDown on Dektop and TouchStart on Mobile Devices\" \/>\n<meta property=\"og:description\" content=\"This short JavaScript jQuery code detects MouseDown \/ MouseUp event on desktop browsers and it handles TouchStart \/ TouchEnd events on touchscreen devices.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/html-online.com\/articles\/detecting-mousedown-dektop-touchstart-mobile-devices-javascript\/\" \/>\n<meta property=\"og:site_name\" content=\"HTML Online\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/htmlcoding\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-12-19T13:09:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-12-24T09:43:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2017\/01\/detect-mousedown-desktop-touch-devices.jpg\" \/>\n<meta name=\"author\" content=\"HTML Editor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"HTML Editor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/html-online.com\/articles\/detecting-mousedown-dektop-touchstart-mobile-devices-javascript\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/html-online.com\/articles\/detecting-mousedown-dektop-touchstart-mobile-devices-javascript\/\"},\"author\":{\"name\":\"HTML Editor\",\"@id\":\"https:\/\/html-online.com\/articles\/#\/schema\/person\/019f9afa07f209153df0fecfc90b8c1d\"},\"headline\":\"Detecting MouseDown on Dektop and TouchStart on Mobile Devices\",\"datePublished\":\"2020-12-19T13:09:00+00:00\",\"dateModified\":\"2020-12-24T09:43:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/html-online.com\/articles\/detecting-mousedown-dektop-touchstart-mobile-devices-javascript\/\"},\"wordCount\":125,\"publisher\":{\"@id\":\"https:\/\/html-online.com\/articles\/#organization\"},\"image\":{\"@id\":\"https:\/\/html-online.com\/articles\/detecting-mousedown-dektop-touchstart-mobile-devices-javascript\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2017\/01\/detect-mousedown-desktop-touch-devices.jpg\",\"articleSection\":[\"Articles\",\"JavaScript\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/html-online.com\/articles\/detecting-mousedown-dektop-touchstart-mobile-devices-javascript\/\",\"url\":\"https:\/\/html-online.com\/articles\/detecting-mousedown-dektop-touchstart-mobile-devices-javascript\/\",\"name\":\"Detecting MouseDown on Dektop and TouchStart on Mobile Devices\",\"isPartOf\":{\"@id\":\"https:\/\/html-online.com\/articles\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/html-online.com\/articles\/detecting-mousedown-dektop-touchstart-mobile-devices-javascript\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/html-online.com\/articles\/detecting-mousedown-dektop-touchstart-mobile-devices-javascript\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2017\/01\/detect-mousedown-desktop-touch-devices.jpg\",\"datePublished\":\"2020-12-19T13:09:00+00:00\",\"dateModified\":\"2020-12-24T09:43:46+00:00\",\"description\":\"This short JavaScript jQuery code detects MouseDown \/ MouseUp event on desktop browsers and it handles TouchStart \/ TouchEnd events on touchscreen devices.\",\"breadcrumb\":{\"@id\":\"https:\/\/html-online.com\/articles\/detecting-mousedown-dektop-touchstart-mobile-devices-javascript\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/html-online.com\/articles\/detecting-mousedown-dektop-touchstart-mobile-devices-javascript\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/html-online.com\/articles\/detecting-mousedown-dektop-touchstart-mobile-devices-javascript\/#primaryimage\",\"url\":\"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2017\/01\/detect-mousedown-desktop-touch-devices.jpg\",\"contentUrl\":\"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2017\/01\/detect-mousedown-desktop-touch-devices.jpg\",\"width\":200,\"height\":212,\"caption\":\"detect mousedown desktop touch devices\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/html-online.com\/articles\/detecting-mousedown-dektop-touchstart-mobile-devices-javascript\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/html-online.com\/articles\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Detecting MouseDown on Dektop and TouchStart on Mobile Devices\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/html-online.com\/articles\/#website\",\"url\":\"https:\/\/html-online.com\/articles\/\",\"name\":\"HTML Online Articles\",\"description\":\"Tips, tricks, tutorials\u2026\",\"publisher\":{\"@id\":\"https:\/\/html-online.com\/articles\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/html-online.com\/articles\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/html-online.com\/articles\/#organization\",\"name\":\"HTML Online\",\"url\":\"https:\/\/html-online.com\/articles\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/html-online.com\/articles\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2022\/06\/logo.jpg\",\"contentUrl\":\"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2022\/06\/logo.jpg\",\"width\":350,\"height\":350,\"caption\":\"HTML Online\"},\"image\":{\"@id\":\"https:\/\/html-online.com\/articles\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/htmlcoding\/\",\"https:\/\/www.linkedin.com\/in\/ferencdenes\/\",\"https:\/\/www.youtube.com\/channel\/UCn38Jw1sJzbjVHO95Zp0Sww\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/html-online.com\/articles\/#\/schema\/person\/019f9afa07f209153df0fecfc90b8c1d\",\"name\":\"HTML Editor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/html-online.com\/articles\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7c1d8f5e7f1dc3e261766a96ac50c6a907fa5c236e87ab73379c57c9114e92cd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7c1d8f5e7f1dc3e261766a96ac50c6a907fa5c236e87ab73379c57c9114e92cd?s=96&d=mm&r=g\",\"caption\":\"HTML Editor\"},\"description\":\"In 2013, while wrestling with a mountain of client articles and an uncooperative CMS, I decided enough was enough. So, I created an online HTML editor purely out of necessity (and mild frustration). What began as a tool for my own sanity quickly evolved into a gift for the world\u2014or at least for anyone trying to avoid breaking their website's code. Since then, I've shared my tech notes on my blog, which serves as both a handy reference and a digital diary of the adventures and misadventures of a coder.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/ferencdenes\/\",\"https:\/\/www.youtube.com\/@htmlg\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Detecting MouseDown on Dektop and TouchStart on Mobile Devices","description":"This short JavaScript jQuery code detects MouseDown \/ MouseUp event on desktop browsers and it handles TouchStart \/ TouchEnd events on touchscreen devices.","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:\/\/html-online.com\/articles\/detecting-mousedown-dektop-touchstart-mobile-devices-javascript\/","og_locale":"en_GB","og_type":"article","og_title":"Detecting MouseDown on Dektop and TouchStart on Mobile Devices","og_description":"This short JavaScript jQuery code detects MouseDown \/ MouseUp event on desktop browsers and it handles TouchStart \/ TouchEnd events on touchscreen devices.","og_url":"https:\/\/html-online.com\/articles\/detecting-mousedown-dektop-touchstart-mobile-devices-javascript\/","og_site_name":"HTML Online","article_publisher":"https:\/\/www.facebook.com\/htmlcoding\/","article_published_time":"2020-12-19T13:09:00+00:00","article_modified_time":"2020-12-24T09:43:46+00:00","og_image":[{"url":"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2017\/01\/detect-mousedown-desktop-touch-devices.jpg","type":"","width":"","height":""}],"author":"HTML Editor","twitter_card":"summary_large_image","twitter_misc":{"Written by":"HTML Editor","Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/html-online.com\/articles\/detecting-mousedown-dektop-touchstart-mobile-devices-javascript\/#article","isPartOf":{"@id":"https:\/\/html-online.com\/articles\/detecting-mousedown-dektop-touchstart-mobile-devices-javascript\/"},"author":{"name":"HTML Editor","@id":"https:\/\/html-online.com\/articles\/#\/schema\/person\/019f9afa07f209153df0fecfc90b8c1d"},"headline":"Detecting MouseDown on Dektop and TouchStart on Mobile Devices","datePublished":"2020-12-19T13:09:00+00:00","dateModified":"2020-12-24T09:43:46+00:00","mainEntityOfPage":{"@id":"https:\/\/html-online.com\/articles\/detecting-mousedown-dektop-touchstart-mobile-devices-javascript\/"},"wordCount":125,"publisher":{"@id":"https:\/\/html-online.com\/articles\/#organization"},"image":{"@id":"https:\/\/html-online.com\/articles\/detecting-mousedown-dektop-touchstart-mobile-devices-javascript\/#primaryimage"},"thumbnailUrl":"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2017\/01\/detect-mousedown-desktop-touch-devices.jpg","articleSection":["Articles","JavaScript"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/html-online.com\/articles\/detecting-mousedown-dektop-touchstart-mobile-devices-javascript\/","url":"https:\/\/html-online.com\/articles\/detecting-mousedown-dektop-touchstart-mobile-devices-javascript\/","name":"Detecting MouseDown on Dektop and TouchStart on Mobile Devices","isPartOf":{"@id":"https:\/\/html-online.com\/articles\/#website"},"primaryImageOfPage":{"@id":"https:\/\/html-online.com\/articles\/detecting-mousedown-dektop-touchstart-mobile-devices-javascript\/#primaryimage"},"image":{"@id":"https:\/\/html-online.com\/articles\/detecting-mousedown-dektop-touchstart-mobile-devices-javascript\/#primaryimage"},"thumbnailUrl":"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2017\/01\/detect-mousedown-desktop-touch-devices.jpg","datePublished":"2020-12-19T13:09:00+00:00","dateModified":"2020-12-24T09:43:46+00:00","description":"This short JavaScript jQuery code detects MouseDown \/ MouseUp event on desktop browsers and it handles TouchStart \/ TouchEnd events on touchscreen devices.","breadcrumb":{"@id":"https:\/\/html-online.com\/articles\/detecting-mousedown-dektop-touchstart-mobile-devices-javascript\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/html-online.com\/articles\/detecting-mousedown-dektop-touchstart-mobile-devices-javascript\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/html-online.com\/articles\/detecting-mousedown-dektop-touchstart-mobile-devices-javascript\/#primaryimage","url":"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2017\/01\/detect-mousedown-desktop-touch-devices.jpg","contentUrl":"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2017\/01\/detect-mousedown-desktop-touch-devices.jpg","width":200,"height":212,"caption":"detect mousedown desktop touch devices"},{"@type":"BreadcrumbList","@id":"https:\/\/html-online.com\/articles\/detecting-mousedown-dektop-touchstart-mobile-devices-javascript\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/html-online.com\/articles\/"},{"@type":"ListItem","position":2,"name":"Detecting MouseDown on Dektop and TouchStart on Mobile Devices"}]},{"@type":"WebSite","@id":"https:\/\/html-online.com\/articles\/#website","url":"https:\/\/html-online.com\/articles\/","name":"HTML Online Articles","description":"Tips, tricks, tutorials\u2026","publisher":{"@id":"https:\/\/html-online.com\/articles\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/html-online.com\/articles\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/html-online.com\/articles\/#organization","name":"HTML Online","url":"https:\/\/html-online.com\/articles\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/html-online.com\/articles\/#\/schema\/logo\/image\/","url":"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2022\/06\/logo.jpg","contentUrl":"https:\/\/html-online.com\/articles\/wp-content\/uploads\/2022\/06\/logo.jpg","width":350,"height":350,"caption":"HTML Online"},"image":{"@id":"https:\/\/html-online.com\/articles\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/htmlcoding\/","https:\/\/www.linkedin.com\/in\/ferencdenes\/","https:\/\/www.youtube.com\/channel\/UCn38Jw1sJzbjVHO95Zp0Sww"]},{"@type":"Person","@id":"https:\/\/html-online.com\/articles\/#\/schema\/person\/019f9afa07f209153df0fecfc90b8c1d","name":"HTML Editor","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/html-online.com\/articles\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/7c1d8f5e7f1dc3e261766a96ac50c6a907fa5c236e87ab73379c57c9114e92cd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7c1d8f5e7f1dc3e261766a96ac50c6a907fa5c236e87ab73379c57c9114e92cd?s=96&d=mm&r=g","caption":"HTML Editor"},"description":"In 2013, while wrestling with a mountain of client articles and an uncooperative CMS, I decided enough was enough. So, I created an online HTML editor purely out of necessity (and mild frustration). What began as a tool for my own sanity quickly evolved into a gift for the world\u2014or at least for anyone trying to avoid breaking their website's code. Since then, I've shared my tech notes on my blog, which serves as both a handy reference and a digital diary of the adventures and misadventures of a coder.","sameAs":["https:\/\/www.linkedin.com\/in\/ferencdenes\/","https:\/\/www.youtube.com\/@htmlg"]}]}},"_links":{"self":[{"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/posts\/138","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/comments?post=138"}],"version-history":[{"count":4,"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/posts\/138\/revisions"}],"predecessor-version":[{"id":1145,"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/posts\/138\/revisions\/1145"}],"wp:attachment":[{"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/media?parent=138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/categories?post=138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/html-online.com\/articles\/wp-json\/wp\/v2\/tags?post=138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}