{"id":74176,"date":"2025-10-15T21:00:56","date_gmt":"2025-10-15T13:00:56","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=74176"},"modified":"2025-10-01T16:05:40","modified_gmt":"2025-10-01T08:05:40","slug":"customizing-html-select-elements-guide","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/customizing-html-select-elements-guide\/","title":{"rendered":"A Look Into Customizable HTML Select Elements"},"content":{"rendered":"<p>The <code>&lt;select&gt;<\/code> element is one of the most common form controls on the web, but it has always been one of the hardest to style. That\u2019s because browsers just let the OS decide how it looks, especially for the dropdown list and arrow icon.<\/p>\n<p>While this approach keeps the design consistent with native apps, it also means the appearance can vary a lot across devices and browsers. If you wanted a custom design, you often had to rebuild the whole thing from scratch using JavaScript libraries like <a href=\"https:\/\/react-spectrum.adobe.com\/react-aria\/components.html\" target=\"_blank\" rel=\"noopener noreferrer\">React Aria<\/a> or <a href=\"https:\/\/ui.shadcn.com\" target=\"_blank\" rel=\"noopener noreferrer\">Shadcn UI<\/a>. This added more code to maintain, and often could lead to accessibility issues and slower performance.<\/p>\n<p>Now, thanks to a new HTML standard, there are better ways to style the <code>&lt;select&gt;<\/code> element without the trade-offs. Let\u2019s take a look at how it works.<\/p>\n<hr>\n<h2>What\u2019s in the new standard?<\/h2>\n<p>This new standard introduces a new <code>&lt;selectedcontent&gt;<\/code> element which allows you to define custom content for the selected option in a <code>&lt;select&gt;<\/code> dropdown, including adding some HTML instead of just text.<\/p>\n<p>The standard also specifies a new CSS property value, <code>appearance: base-select;<\/code>. This <code>base-select<\/code> value tells the browser to remove all its default operating system styling and use a very minimal base styles instead.<\/p>\n<p>Along with this CSS property, it also introduces a new pseudo-element, <code>::picker(select)<\/code> and the <code>::picker-icon<\/code>, which allows you to select and style the dropdown list.<\/p>\n<hr>\n<h2>Usage<\/h2>\n<p>To use these new standards, we can simply add the <code>appearance: base-select;<\/code> property to your <code>&lt;select&gt;<\/code> element itself and its <code>::picker(select) <\/code>pseudo-element, like below.<\/p>\n<pre>\r\n.custom-select {\r\n  appearance: base-select;\r\n}\r\n.custom-select::picker(select) {\r\n  appearance: base-select;\r\n}\r\n<\/pre>\n<p>As we can see below, this CSS would remove the default OS-styles.<\/p>\n<figure>\n        <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/customizing-html-select-elements-guide\/base-styles-before-and-after.jpg\" alt=\"Select element before after comparison\" width=\"1000\" height=\"300\"><figcaption>Before and after applying <code>appearance: base-select;<\/code><\/figcaption><\/figure>\n<p>On the HTML side, we can now add rich content. For example, we can add an icon with an emoji within each of the options.<\/p>\n<pre>\r\n&lt;select name=\"country\" id=\"custom-select\"&gt;\r\n    &lt;button&gt;\r\n        &lt;selectedcontent&gt;&lt;\/selectedcontent&gt;\r\n    &lt;\/button&gt;\r\n    &lt;option value=\"ID\"&gt;\r\n        &lt;span class=\"flag\"&gt;\ud83c\uddee\ud83c\udde9&lt;\/span&gt;\r\n        &lt;span class=\"text\"&gt;Indonesia&lt;\/span&gt;\r\n    &lt;\/option&gt;\r\n    &lt;option value=\"MY\"&gt;\r\n        &lt;span class=\"flag\"&gt;\ud83c\uddf2\ud83c\uddfe&lt;\/span&gt;\r\n        &lt;span class=\"text\"&gt;Malaysia&lt;\/span&gt;\r\n    &lt;\/option&gt;\r\n    &lt;option value=\"SG\"&gt;\r\n        &lt;span class=\"flag\"&gt;\ud83c\uddf8\ud83c\uddec&lt;\/span&gt;\r\n        &lt;span class=\"text\"&gt;Singapore&lt;\/span&gt;\r\n    &lt;\/option&gt;\r\n&lt;\/select&gt;\r\n<\/pre>\n<p>We\u2019ve added it with a <code>span<\/code> and the class, so we could style it with CSS, and used a <code>button<\/code> element with the <code>&lt;selectedcontent&gt;<\/code> element to be able to fully customize the selected option\u2019s appearance, such as adding a custom dropdown icon.<\/p>\n<h3>Adding custom dropdown icon<\/h3>\n<p>For the dropdown icon, we\u2019ll be using an SVG icon, as follows:<\/p>\n<pre>\r\n&lt;select name=\"country\" class=\"custom-select\"&gt;\r\n    &lt;button&gt;\r\n        &lt;selectedcontent&gt;&lt;\/selectedcontent&gt;\r\n        &lt;svg\r\n            class=\"dropdown-icon\"\r\n            xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\r\n            viewBox=\"0 0 24 24\"\r\n            fill=\"none\"\r\n            stroke=\"currentColor\"\r\n            stroke-width=\"2\"\r\n            stroke-linecap=\"round\"\r\n            stroke-linejoin=\"round\"\r\n            aria-hidden=\"true\"\r\n        &gt;\r\n            &lt;path d=\"m6 9 6 6 6-6\"&gt;&lt;\/path&gt;\r\n        &lt;\/svg&gt;\r\n    &lt;\/button&gt;\r\n    ...\r\n&lt;\/select&gt;\r\n<\/pre>\n<p>And we\u2019ll hide the default dropdown icon using the <code>::picker-icon<\/code> pseudo-element.<\/p>\n<pre>\r\n.custom-select::picker-icon {\r\n    display: none;\r\n}\r\n<\/pre>\n<p>After adding a few more styles on the button to align and control the icon size, we can see a nicer result of our custom select element:<\/p>\n<figure>\n        <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/customizing-html-select-elements-guide\/custom-button-styles.jpg\" alt=\"Custom select button with icon\" width=\"1000\" height=\"300\">\n    <\/figure>\n<hr>\n<h2>Styling the dropdown<\/h2>\n<p>Once we\u2019ve customized the selected element and icon, we can style the dropdown list itself.<\/p>\n<p>For example, you could give the dropdown a subtle border, a shadow for depth, and adjust the spacing between options for better readability:<\/p>\n<pre>\r\n.custom-select::picker(select) {\r\n  border: 1px solid #d4d4d4;\r\n  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\r\n  font-family: sans-serif;\r\n  border-radius: 3px;\r\n  font-size: 0.85rem;\r\n  margin-top: 2px;\r\n}\r\n\r\n.custom-select option {\r\n  padding: 4px;\r\n}\r\n\r\n.custom-select option .flag {\r\n  margin-right: 2px;\r\n}\r\n<\/pre>\n<h3>Styling the selected element<\/h3>\n<p>Next, we can style the selected element itself. For example, we can add a different background color to make it stand out more.<\/p>\n<pre>\r\n.custom-select option:is(:checked) {\r\n    background: #bedbff;\r\n}\r\n<\/pre>\n<p>Another thing we could also change is the checkmark icon that appears when an option is selected. We can use the <code>::checkmark<\/code> pseudo-element to style it.<\/p>\n<p>For example, here we\u2019ve changed it to use \u201c\u2714\u201d instead of the default check mark icon, and changed it to a blue color to match the background.<\/p>\n<pre>\r\n.custom-select option::checkmark {\r\n  content: \"\u2714\";\r\n  color: #1c398e;\r\n}\r\n<\/pre>\n<p>With these styles, we can see a more polished dropdown:<\/p>\n<p>    <iframe src=\"https:\/\/codesandbox.io\/embed\/8k48ph?view=preview\" style=\"width:100%; height: 500px; border:0; border-radius: 4px; overflow:hidden;\" title=\"native-styleable-select-element\" allow=\"accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking\" sandbox=\"allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts\"><\/iframe><\/p>\n<hr>\n<h2>Wrapping up<\/h2>\n<p>HTML and CSS have come a long way in making the <code>&lt;select&gt;<\/code> element more customizable. With the new standards, we can now create dropdowns that look better and are easy to use, while still being accessible.<\/p>\n<p>Keep in mind that, at the time of this writing, these features are still experimental and not widely supported across all browsers. You can check the <a href=\"https:\/\/caniuse.com\/css-appearance-base-select\" target=\"_blank\" rel=\"noopener noreferrer\">Can I Use<\/a> website for the latest support status.<\/p>\n<p>Hopefully, as more browsers implement these features, we can expect to see more beautiful and functional <code>&lt;select&gt;<\/code> elements on the web.<\/p>","protected":false},"excerpt":{"rendered":"<p>The &lt;select&gt; element is one of the most common form controls on the web, but it has always been one of the hardest to style. That\u2019s because browsers just let the OS decide how it looks, especially for the dropdown list and arrow icon. While this approach keeps the design consistent with native apps, it&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3392],"tags":[506],"topic":[],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>A Look Into Customizable HTML Select Elements - Hongkiat<\/title>\n<meta name=\"description\" content=\"The &lt;select&gt; element is one of the most common form controls on the web, but it has always been one of the hardest to style. That&#039;s because browsers\" \/>\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\/customizing-html-select-elements-guide\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A Look Into Customizable HTML Select Elements\" \/>\n<meta property=\"og:description\" content=\"The &lt;select&gt; element is one of the most common form controls on the web, but it has always been one of the hardest to style. That&#039;s because browsers\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/customizing-html-select-elements-guide\/\" \/>\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=\"2025-10-15T13:00:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/customizing-html-select-elements-guide\/base-styles-before-and-after.jpg\" \/>\n<meta name=\"author\" content=\"Hongkiat Lim\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Hongkiat Lim\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/customizing-html-select-elements-guide\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/customizing-html-select-elements-guide\\\/\"},\"author\":{\"name\":\"Hongkiat Lim\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e3613a3bf757e4f67770f0b7a339edd0\"},\"headline\":\"A Look Into Customizable HTML Select Elements\",\"datePublished\":\"2025-10-15T13:00:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/customizing-html-select-elements-guide\\\/\"},\"wordCount\":603,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/customizing-html-select-elements-guide\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/customizing-html-select-elements-guide\\\/base-styles-before-and-after.jpg\",\"keywords\":[\"HTML\"],\"articleSection\":[\"Coding\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/customizing-html-select-elements-guide\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/customizing-html-select-elements-guide\\\/\",\"name\":\"A Look Into Customizable HTML Select Elements - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/customizing-html-select-elements-guide\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/customizing-html-select-elements-guide\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/customizing-html-select-elements-guide\\\/base-styles-before-and-after.jpg\",\"datePublished\":\"2025-10-15T13:00:56+00:00\",\"description\":\"The &lt;select&gt; element is one of the most common form controls on the web, but it has always been one of the hardest to style. That's because browsers\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/customizing-html-select-elements-guide\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/customizing-html-select-elements-guide\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/customizing-html-select-elements-guide\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/customizing-html-select-elements-guide\\\/base-styles-before-and-after.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/customizing-html-select-elements-guide\\\/base-styles-before-and-after.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/customizing-html-select-elements-guide\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"A Look Into Customizable HTML Select Elements\"}]},{\"@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\\\/e3613a3bf757e4f67770f0b7a339edd0\",\"name\":\"Hongkiat Lim\",\"description\":\"Founder and Editor in Chief of Hongkiat.com. Hongkiat is also a designer, developer, entrepreneur, and an active investor in the US stock market.\",\"sameAs\":[\"http:\\\/\\\/www.hongkiat.com\\\/blog\"],\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/hongkiat\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"A Look Into Customizable HTML Select Elements - Hongkiat","description":"The &lt;select&gt; element is one of the most common form controls on the web, but it has always been one of the hardest to style. That's because browsers","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\/customizing-html-select-elements-guide\/","og_locale":"en_US","og_type":"article","og_title":"A Look Into Customizable HTML Select Elements","og_description":"The &lt;select&gt; element is one of the most common form controls on the web, but it has always been one of the hardest to style. That's because browsers","og_url":"https:\/\/www.hongkiat.com\/blog\/customizing-html-select-elements-guide\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2025-10-15T13:00:56+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/customizing-html-select-elements-guide\/base-styles-before-and-after.jpg","type":"","width":"","height":""}],"author":"Hongkiat Lim","twitter_card":"summary_large_image","twitter_creator":"@hongkiat","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Hongkiat Lim"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/customizing-html-select-elements-guide\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/customizing-html-select-elements-guide\/"},"author":{"name":"Hongkiat Lim","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e3613a3bf757e4f67770f0b7a339edd0"},"headline":"A Look Into Customizable HTML Select Elements","datePublished":"2025-10-15T13:00:56+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/customizing-html-select-elements-guide\/"},"wordCount":603,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/customizing-html-select-elements-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/customizing-html-select-elements-guide\/base-styles-before-and-after.jpg","keywords":["HTML"],"articleSection":["Coding"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/customizing-html-select-elements-guide\/","url":"https:\/\/www.hongkiat.com\/blog\/customizing-html-select-elements-guide\/","name":"A Look Into Customizable HTML Select Elements - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/customizing-html-select-elements-guide\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/customizing-html-select-elements-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/customizing-html-select-elements-guide\/base-styles-before-and-after.jpg","datePublished":"2025-10-15T13:00:56+00:00","description":"The &lt;select&gt; element is one of the most common form controls on the web, but it has always been one of the hardest to style. That's because browsers","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/customizing-html-select-elements-guide\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/customizing-html-select-elements-guide\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/customizing-html-select-elements-guide\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/customizing-html-select-elements-guide\/base-styles-before-and-after.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/customizing-html-select-elements-guide\/base-styles-before-and-after.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/customizing-html-select-elements-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"A Look Into Customizable HTML Select Elements"}]},{"@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\/e3613a3bf757e4f67770f0b7a339edd0","name":"Hongkiat Lim","description":"Founder and Editor in Chief of Hongkiat.com. Hongkiat is also a designer, developer, entrepreneur, and an active investor in the US stock market.","sameAs":["http:\/\/www.hongkiat.com\/blog"],"url":"https:\/\/www.hongkiat.com\/blog\/author\/hongkiat\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-jio","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/74176","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=74176"}],"version-history":[{"count":1,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/74176\/revisions"}],"predecessor-version":[{"id":74177,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/74176\/revisions\/74177"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=74176"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=74176"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=74176"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=74176"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}