{"id":49598,"date":"2024-09-23T07:00:00","date_gmt":"2024-09-23T14:00:00","guid":{"rendered":"https:\/\/dhblog.dream.press\/blog\/?p=49598"},"modified":"2025-10-07T13:36:21","modified_gmt":"2025-10-07T20:36:21","slug":"svg-files","status":"publish","type":"post","link":"https:\/\/www-dev.dreamhost.com\/blog\/svg-files\/","title":{"rendered":"TCB With SVG: How To Create and Use SVG Files on Your Website"},"content":{"rendered":"\n<p>Some people say Elvis Presley was the greatest performer of all time.<\/p>\n\n\n\n<p>We say the SVG file format is a close rival.<\/p>\n\n\n\n<p>You see, Elvis always delivered. His personal mantra was, &#8220;Taking care of business,&#8221; abbreviated as TCB on his jewelry.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1600\" height=\"1181\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/01_elvis_tcb.webp\" alt=\"Photo of Elvis at George Klein\u2019s wedding wearing his TCB necklace\" class=\"wp-image-49627 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/01_elvis_tcb.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/01_elvis_tcb-300x221.webp 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/01_elvis_tcb-1024x756.webp 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/01_elvis_tcb-768x567.webp 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/01_elvis_tcb-1536x1134.webp 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/01_elvis_tcb-600x443.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/01_elvis_tcb-1200x886.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/01_elvis_tcb-730x539.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/01_elvis_tcb-1460x1078.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/01_elvis_tcb-784x579.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/01_elvis_tcb-1568x1157.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/01_elvis_tcb-877x647.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/1181;\" \/><figcaption class=\"wp-element-caption\"><a href=\"https:\/\/www.instagram.com\/p\/BwM33HqHAlW\/\" target=\"_blank\" rel=\"noreferrer noopener\">Source<\/a><\/figcaption><\/figure>\n\n\n\n<p>And you could say the same for SVG files.<\/p>\n\n\n\n\n\n<div class=\"glossary-term\">\n\t<a\n\t\tclass=\"glossary-term__above-title\"\n\t\thref=\"\"\n\t\ttarget=\"_blank\"\n\t\trel=\"noopener noreferrer\"\n\t>\n\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 640 512\"><path d=\"M320 32c-8.1 0-16.1 1.4-23.7 4.1L15.8 137.4C6.3 140.9 0 149.9 0 160s6.3 19.1 15.8 22.6l57.9 20.9C57.3 229.3 48 259.8 48 291.9v28.1c0 28.4-10.8 57.7-22.3 80.8c-6.5 13-13.9 25.8-22.5 37.6C0 442.7-.9 448.3 .9 453.4s6 8.9 11.2 10.2l64 16c4.2 1.1 8.7 .3 12.4-2s6.3-6.1 7.1-10.4c8.6-42.8 4.3-81.2-2.1-108.7C90.3 344.3 86 329.8 80 316.5V291.9c0-30.2 10.2-58.7 27.9-81.5c12.9-15.5 29.6-28 49.2-35.7l157-61.7c8.2-3.2 17.5 .8 20.7 9s-.8 17.5-9 20.7l-157 61.7c-12.4 4.9-23.3 12.4-32.2 21.6l159.6 57.6c7.6 2.7 15.6 4.1 23.7 4.1s16.1-1.4 23.7-4.1L624.2 182.6c9.5-3.4 15.8-12.5 15.8-22.6s-6.3-19.1-15.8-22.6L343.7 36.1C336.1 33.4 328.1 32 320 32zM128 408c0 35.3 86 72 192 72s192-36.7 192-72L496.7 262.6 354.5 314c-11.1 4-22.8 6-34.5 6s-23.5-2-34.5-6L143.3 262.6 128 408z\"\/><\/svg>\n\t\t<span><\/span>\n\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 384 512\"><path d=\"M342.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L274.7 256 105.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z\"\/><\/svg>\n\t<\/a>\n    <h3>SVG<\/h3>\n    <p>An SVG file, or Scalable Vector Graphic file, is a file format that renders two-dimensional images. It describes how the image should appear using an XML text format.<\/p>\n            <a\n            href=\"https:\/\/www.dreamhost.com\/glossary\/web-design\/svg\/\"\n                        class=\"btn btn--white-outline btn--sm btn--round\"\n                                    target=\"_blank\"\n            rel=\"noopener noreferrer\"\n            >\n                            Read More                    <\/a>\n\n<\/div>\n\n\n\n<p>No matter what project you&#8217;re working on, this image format will get the job done. These files are lightweight, scalable, and great for <a href=\"https:\/\/www.dreamhost.com\/blog\/make-your-website-accessible\/\" target=\"_blank\" rel=\"noreferrer noopener\">accessibility<\/a>. You can even edit them using code.<\/p>\n\n\n\n<p>Still need convincing? In this ever-so-readable guide, we take a closer look at the SVG format and explain how to use these files in your own projects.<\/p>\n\n\n\n<p>Ready to get started? Let&#8217;s have a little less conversation, a little more action!<\/p>\n\n\n\n<h2 id=\"h-the-abcs-of-svgs-understanding-image-files\" class=\"wp-block-heading\">The ABCs of SVGs: Understanding Image Files<\/h2>\n\n\n\n<p>Say you&#8217;re building a website. You&#8217;re probably going to want some images.<\/p>\n\n\n\n<p>Which file type should you use?<\/p>\n\n\n\n<p>Your instinct might be JPEG or PNG. Maybe you&#8217;ll go wild and throw in some GIFs.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" data-src=\"https:\/\/media4.giphy.com\/media\/v1.Y2lkPTc5MGI3NjExemYyMXZuMThmZXBseDJ4Ym5raTR0NXVtNDI0dnpsaDZ5Y3JhOWcyNSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw\/l0IyqqiSuoOFBdZ7i\/giphy.webp\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><figcaption class=\"wp-element-caption\"><a href=\"https:\/\/giphy.com\/gifs\/chuber-bears-elvis-l0IyqqiSuoOFBdZ7i\" target=\"_blank\" rel=\"noreferrer noopener\">Source<\/a><\/figcaption><\/figure>\n\n\n\n<p>But\u2026what&#8217;s the difference? Well, here&#8217;s a comparison of the usual suspects:<\/p>\n\n\n\n<p><strong>JPEG (Joint Photographic Experts Group)<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Pros: Smaller file sizes, great for complex images.<\/li>\n\n\n\n<li>Cons: Loses quality when compressed, no transparency.<\/li>\n<\/ul>\n\n\n\n<p><strong>PNG (Portable Network Graphics)<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Pros: Lossless compression, supports transparency.<\/li>\n\n\n\n<li>Cons: Bigger files than JPEGs.<\/li>\n<\/ul>\n\n\n\n<p><strong>GIF (Graphics Interchange Format)<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Pros: Supports simple animations, small file size.<\/li>\n\n\n\n<li>Cons: Limited colors, can look pixelated.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" data-src=\"https:\/\/i.giphy.com\/media\/v1.Y2lkPTc5MGI3NjExZnQyaXJnOTNjNGtrOThvcHoyNmdtemFqOXZyeGtxbjZ6OTVmaGo5YSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw\/IxPS9xRu7TwYlrgBv4\/giphy.gif\" alt=\"\" style=\"width:500px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure>\n\n\n\n<p>These formats might appear diverse. However, they are all examples of raster images.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.dreamhost.com\/blog\/optimize-images-for-web\/\" target=\"_blank\" rel=\"noreferrer noopener\">Raster (or bitmap) images<\/a> are painted with precisely placed pixels. They have fixed dimensions, colors, and shapes.<\/p>\n\n\n\n<p>These file types are great for sharing images with a lot of detail, such as <a href=\"https:\/\/www.dreamhost.com\/blog\/photography-portfolio-website-design\/\" target=\"_blank\" rel=\"noreferrer noopener\">high-quality photos<\/a>.<\/p>\n\n\n\n<p>The downside is that you can\u2019t ever change or stretch the original image. You can only paint over it or add more pixels.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why SVGs Are So Useful<\/h3>\n\n\n\n<p>The SVG (Scalable Vector Graphics) format is different.<\/p>\n\n\n\n<p>Vector files hold a set of text instructions on how to build an image. These files are written in XML (Extensible Markup Language).<\/p>\n\n\n\n\n\n<div class=\"glossary-term\">\n\t<a\n\t\tclass=\"glossary-term__above-title\"\n\t\thref=\"\"\n\t\ttarget=\"_blank\"\n\t\trel=\"noopener noreferrer\"\n\t>\n\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 640 512\"><path d=\"M320 32c-8.1 0-16.1 1.4-23.7 4.1L15.8 137.4C6.3 140.9 0 149.9 0 160s6.3 19.1 15.8 22.6l57.9 20.9C57.3 229.3 48 259.8 48 291.9v28.1c0 28.4-10.8 57.7-22.3 80.8c-6.5 13-13.9 25.8-22.5 37.6C0 442.7-.9 448.3 .9 453.4s6 8.9 11.2 10.2l64 16c4.2 1.1 8.7 .3 12.4-2s6.3-6.1 7.1-10.4c8.6-42.8 4.3-81.2-2.1-108.7C90.3 344.3 86 329.8 80 316.5V291.9c0-30.2 10.2-58.7 27.9-81.5c12.9-15.5 29.6-28 49.2-35.7l157-61.7c8.2-3.2 17.5 .8 20.7 9s-.8 17.5-9 20.7l-157 61.7c-12.4 4.9-23.3 12.4-32.2 21.6l159.6 57.6c7.6 2.7 15.6 4.1 23.7 4.1s16.1-1.4 23.7-4.1L624.2 182.6c9.5-3.4 15.8-12.5 15.8-22.6s-6.3-19.1-15.8-22.6L343.7 36.1C336.1 33.4 328.1 32 320 32zM128 408c0 35.3 86 72 192 72s192-36.7 192-72L496.7 262.6 354.5 314c-11.1 4-22.8 6-34.5 6s-23.5-2-34.5-6L143.3 262.6 128 408z\"\/><\/svg>\n\t\t<span><\/span>\n\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 384 512\"><path d=\"M342.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L274.7 256 105.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z\"\/><\/svg>\n\t<\/a>\n    <h3>XML<\/h3>\n    <p>XML is an acronym for Extensible Markup Language. This language uses tags to add information to files, which both machines and humans can read.<\/p>\n            <a\n            href=\"https:\/\/www.dreamhost.com\/glossary\/wordpress\/xml\/\"\n                        class=\"btn btn--white-outline btn--sm btn--round\"\n                                    target=\"_blank\"\n            rel=\"noopener noreferrer\"\n            >\n                            Read More                    <\/a>\n\n<\/div>\n\n\n\n<p>When you try to load an SVG file, your device looks at the instructions and builds the picture on demand.<\/p>\n\n\n\n<p>There are several advantages to this system:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>SVGs can be <strong>scaled to any size<\/strong> and still look perfect.<\/li>\n\n\n\n<li>They can also be <strong>edited like code files<\/strong>.<\/li>\n\n\n\n<li>You can even <strong>style them using CSS<\/strong>.<\/li>\n\n\n\n<li>Because SVGs are made of text, <strong>they have really small file sizes<\/strong>.<\/li>\n\n\n\n<li>This means they take up <strong>less storage space<\/strong> on your web server<strong>.<\/strong><\/li>\n\n\n\n<li>And they can <strong>load faster<\/strong> than raster graphics.<\/li>\n<\/ul>\n\n\n\n<p>One other benefit of using SVGs is <strong>improved accessibility. <\/strong>You can adjust these files locally on devices, according to the user\u2019s needs, and screen readers can interpret them.<\/p>\n\n\n\n<p>The downside of SVGs is that they can get very large if you include loads of detail. Plus, you can\u2019t optimize them in the same way as raster images. If you want to share photography, you&#8217;re probably better off with a JPEG.<\/p>\n\n\n\n<p>But for most other visual content, the SVG format is a strong option.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Feature<\/strong><\/td><td><strong>SVG<\/strong><\/td><td><strong>JPEG<\/strong><\/td><td><strong>PNG<\/strong><\/td><td><strong>GIF<\/strong><\/td><\/tr><tr><td>Scalability<\/td><td>Strong \u2705<\/td><td>Nope \u274c<\/td><td>Nope \u274c<\/td><td>Nope \u274c<\/td><\/tr><tr><td>File Size<\/td><td>Usually small \u2705<\/td><td>Can be small \u2705<\/td><td>Often large \u274c<\/td><td>Small for simple images \u2705<\/td><\/tr><tr><td>Transparency<\/td><td>Yep \u2705<\/td><td>Nope \u274c<\/td><td>Yep \u2705<\/td><td>Yes, but limited \u26a0\ufe0f<\/td><\/tr><tr><td>Animation<\/td><td>Heck yeah! ?<\/td><td>Nope \u274c<\/td><td>Nope \u274c<\/td><td>Basic only \u26a0\ufe0f<\/td><\/tr><tr><td>Best for<\/td><td>Graphics, icons, logos&nbsp;<\/td><td>Photos<\/td><td>Images needing transparency<\/td><td>Simple animations<\/td><\/tr><tr><td>Editability<\/td><td>With code! ?<\/td><td>Nope \u274c<\/td><td>Nope \u274c<\/td><td>Nope \u274c<\/td><\/tr><tr><td>Browser Support<\/td><td>Most modern browsers \u2705<\/td><td>All browsers \u2705<\/td><td>All browsers \u2705<\/td><td>All browsers \u2705<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Common Uses for SVG Images<\/h3>\n\n\n\n<p>While SVGs are pretty versatile, they mostly appear in web design as:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Icons:<\/strong> From social media links to shopping cart buttons, SVG icons look crisp on any device.<\/li>\n\n\n\n<li><strong>Logos:<\/strong> Saving your <a href=\"https:\/\/www.dreamhost.com\/blog\/make-logo-online-free\/\" target=\"_blank\" rel=\"noreferrer noopener\">brand logo<\/a> as an SVG ensures it will look perfect everywhere \u2014 from tiny mobile screens to massive billboards.<\/li>\n\n\n\n<li><strong>Illustrations:<\/strong> Many websites now use SVG illustrations rather than stock images. Even when the graphics are very detailed, they scale perfectly.<\/li>\n\n\n\n<li><strong>Animations:<\/strong> Yes, SVGs can move! You can animate them for that extra flair on your website, like a spinning logo or a dancing character.<\/li>\n\n\n\n<li><strong>Infographics<\/strong>: Because SVGs are scalable, you can also use them to build interactive <a href=\"https:\/\/www.dreamhost.com\/blog\/ga4-explorations-template-gallery\/\" target=\"_blank\" rel=\"noreferrer noopener\">data visualizations<\/a>. Very cool!<\/li>\n<\/ul>\n\n\n\n<h2 id=\"h2_working-with-svgs-create-or-copy\" class=\"wp-block-heading\">Working With SVGs: Create or Copy?<\/h2>\n\n\n\n<p>Okay, that&#8217;s enough starry-eyed praise. It&#8217;s time to get to work.<\/p>\n\n\n\n<p>If you want to integrate SVGs into your digital projects, you need to grab some ready-made designs or make your own graphics from scratch.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Finding Free SVGs<\/h3>\n\n\n\n<p>Using someone else&#8217;s designs is the easier option. And luckily, thousands of SVGs are available to download online.<\/p>\n\n\n\n<p>Many are free for personal projects, but you may need to pay for commercial use.<\/p>\n\n\n\n<p>Here are some of our favorite resources:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/fontawesome.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Font Awesome<\/a>: A popular pack of SVG icons.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.freepik.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Freepik<\/a>: Huge database of vector graphics, illustrations, and icons.<\/li>\n\n\n\n<li><a href=\"https:\/\/lineicons.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Lineicons<\/a>: Pack of over 8,400 clean, simple icons.<\/li>\n\n\n\n<li><a href=\"https:\/\/freesvg.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">Free SVG<\/a>: Library of completely free SVG illustrations.&nbsp;<\/li>\n\n\n\n<li><a href=\"https:\/\/www.opendoodles.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Open Doodles<\/a>: Free colorful, character-like illustrations of people.<\/li>\n\n\n\n<li><a href=\"https:\/\/iconscout.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">IconScout<\/a>: Searchable library of over 9.5 million assets, including free and paid icons, illustrations, logos, and more.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.drawkit.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">DrawKit<\/a>: Multiple packs of 2D\/3D illustrations, free and premium.<\/li>\n\n\n\n<li><a href=\"https:\/\/undraw.co\/illustrations\" target=\"_blank\" rel=\"noreferrer noopener\">unDraw<\/a>: Loads of great, free SVG illustrations.<\/li>\n<\/ul>\n\n\n\n<p>Remember that you can edit any SVG you download. So, you can use free files as a starting point for your own creations.<\/p>\n\n\n\n<div class=\"article-newsletter article-newsletter--gradient\">\n\n\n<h2>Get Content Delivered Straight to Your Inbox<\/h2><p>Subscribe now to receive all the latest updates, delivered directly to your inbox.<\/p><form class=\"nwsl-form\" id=\"newsletter_block_\" novalidate><div class=\"messages\"><\/div><div class=\"form-group\"><label for=\"input_newsletter_block_\"><input type=\"email\"name=\"email\"id=\"input_newsletter_block_\"placeholder=\"Enter your email address\"novalidatedisabled=\"disabled\"\/><\/label><button type=\"submit\"class=\"btn btn--brand\"disabled=\"disabled\"><span>Sign Me Up!<\/span><svg width=\"21\" height=\"14\" viewBox=\"0 0 21 14\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path d=\"M13.8523 0.42524L12.9323 1.34521C12.7095 1.56801 12.7132 1.9304 12.9404 2.14865L16.7241 5.7823H0.5625C0.251859 5.7823 0 6.03416 0 6.3448V7.6573C0 7.96794 0.251859 8.2198 0.5625 8.2198H16.7241L12.9405 11.8535C12.7132 12.0717 12.7095 12.4341 12.9323 12.6569L13.8523 13.5769C14.072 13.7965 14.4281 13.7965 14.6478 13.5769L20.8259 7.39879C21.0456 7.17913 21.0456 6.82298 20.8259 6.60327L14.6477 0.42524C14.4281 0.205584 14.0719 0.205584 13.8523 0.42524Z\" fill=\"white\"\/>\n<\/svg>\n<\/button><\/div><\/form><\/div>\n\n\n<h2 id=\"h2_how-to-create-and-edit-svg-files\" class=\"wp-block-heading\">How To Create and Edit SVG Files<\/h2>\n\n\n\n<p>Can\u2019t find what you need online? Not to worry. Editing SVGs is a piece of cake.<\/p>\n\n\n\n<p>Here&#8217;s a quick walkthrough:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. Choose Your Software<\/h3>\n\n\n\n<p>The easiest way to edit SVGs is with a vector graphics editor. Here are some popular options:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Adobe Illustrator<\/strong> ($$$): The heavyweight champ. Pricey, but powerful.<\/li>\n\n\n\n<li><strong>Inkscape <\/strong>(free): The free alternative that packs a punch.<\/li>\n\n\n\n<li><strong>Figma <\/strong>($): Great for collaborative design work.<\/li>\n\n\n\n<li><strong>Sketch <\/strong>($): A lighter alternative to Illustrator, popular with interface designers.<\/li>\n<\/ul>\n\n\n\n<p>We will base the rest of this walkthrough on Inkscape, but the process looks very similar in most vector editing apps.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. Set Up Your Canvas<\/h3>\n\n\n\n<p>If you&#8217;re starting afresh, you&#8217;ll need to create a canvas for your work. In Inkscape, visit <strong>File <\/strong>&gt;<strong> New<\/strong> and choose the dimensions for your new image.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1600\" height=\"1020\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/03_set_up_your_canvas.webp\" alt=\"screenshot of the &quot;New&quot; Option located under File in the top nav menu \" class=\"wp-image-49636 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/03_set_up_your_canvas.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/03_set_up_your_canvas-300x191.webp 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/03_set_up_your_canvas-1024x653.webp 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/03_set_up_your_canvas-768x490.webp 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/03_set_up_your_canvas-1536x979.webp 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/03_set_up_your_canvas-600x383.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/03_set_up_your_canvas-1200x765.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/03_set_up_your_canvas-730x465.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/03_set_up_your_canvas-1460x931.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/03_set_up_your_canvas-784x500.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/03_set_up_your_canvas-1568x1000.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/03_set_up_your_canvas-877x559.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/1020;\" \/><\/figure>\n\n\n\n<p>If you want to edit an existing SVG document, head to <strong>File &gt; Open<\/strong> to fire up the editor.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. Draw Your Design<\/h3>\n\n\n\n<p>The most important tool in vector editing is the <strong>Bezier<\/strong> tool. You can select it from the toolbar on the left of your workspace. The icon looks like a fountain pen drawing a curved line.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1219\" height=\"821\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/04_draw_your_design.webp\" alt=\"screenshot location of the Bezier tool which looks like a ink pen topper next to a drawn line\" class=\"wp-image-49638 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/04_draw_your_design.webp 1219w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/04_draw_your_design-300x202.webp 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/04_draw_your_design-1024x690.webp 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/04_draw_your_design-768x517.webp 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/04_draw_your_design-600x404.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/04_draw_your_design-1200x808.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/04_draw_your_design-730x492.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/04_draw_your_design-784x528.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/04_draw_your_design-877x591.webp 877w\" data-sizes=\"(max-width: 1219px) 100vw, 1219px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1219px; --smush-placeholder-aspect-ratio: 1219\/821;\" \/><\/figure>\n\n\n\n<p>This tool lets you create straight lines and perfect curves with a few clicks.<\/p>\n\n\n\n<p>Each shape you make contains individual paths and points, which are recorded in the underlying XML code.<\/p>\n\n\n\n<p>Using the Bezier tool, you can easily go back and adjust these points and paths after you\u2019ve made them.Once you\u2019re happy with the structure, add your <a href=\"https:\/\/www.dreamhost.com\/blog\/website-color-schemes\/\" target=\"_blank\" rel=\"noreferrer noopener\">own colors<\/a> via the <strong>Object Properties<\/strong> panel.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1219\" height=\"821\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/05_objectives.webp\" alt=\"top nav bar with drop down from &quot;Object&quot; to &quot;Object properties&quot; \" class=\"wp-image-49640 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/05_objectives.webp 1219w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/05_objectives-300x202.webp 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/05_objectives-1024x690.webp 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/05_objectives-768x517.webp 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/05_objectives-600x404.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/05_objectives-1200x808.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/05_objectives-730x492.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/05_objectives-784x528.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/05_objectives-877x591.webp 877w\" data-sizes=\"(max-width: 1219px) 100vw, 1219px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1219px; --smush-placeholder-aspect-ratio: 1219\/821;\" \/><\/figure>\n\n\n\n<p>Object properties options will appear in the right-hand menu.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1600\" height=\"900\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/06_objectives_properties.webp\" alt=\"screenshot of the object properties menu now open on the right-hand menu showing color and pattern variations. \" class=\"wp-image-49642 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/06_objectives_properties.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/06_objectives_properties-300x169.webp 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/06_objectives_properties-1024x576.webp 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/06_objectives_properties-768x432.webp 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/06_objectives_properties-1536x864.webp 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/06_objectives_properties-600x338.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/06_objectives_properties-1200x675.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/06_objectives_properties-730x411.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/06_objectives_properties-1460x821.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/06_objectives_properties-784x441.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/06_objectives_properties-1568x882.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/06_objectives_properties-877x493.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/900;\" \/><\/figure>\n\n\n\n<p><strong>Pro tip:<\/strong> Want to dive deeper into vector editing? Inkscape has an awesome library of free tutorials right<a href=\"https:\/\/inkscape.org\/learn\/tutorials\/\" target=\"_blank\" rel=\"noreferrer noopener\"> here<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">4. Save As SVG<\/h3>\n\n\n\n<p>Once you\u2019re happy with your graphic, head to <strong>File &gt;<\/strong><strong>Save As<\/strong>, and choose <strong>SVG<\/strong> as your format.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1600\" height=\"900\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/07_save_as_svg.webp\" alt=\"Drop down menu from &quot;file&quot; to &quot;open&quot; \" class=\"wp-image-49644 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/07_save_as_svg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/07_save_as_svg-300x169.webp 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/07_save_as_svg-1024x576.webp 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/07_save_as_svg-768x432.webp 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/07_save_as_svg-1536x864.webp 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/07_save_as_svg-600x338.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/07_save_as_svg-1200x675.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/07_save_as_svg-730x411.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/07_save_as_svg-1460x821.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/07_save_as_svg-784x441.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/07_save_as_svg-1568x882.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/07_save_as_svg-877x493.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/900;\" \/><\/figure>\n\n\n\n<p>Give it a cool name, and hit save!<\/p>\n\n\n\n<h2 id=\"h2_how-to-add-svgs-to-your-website\" class=\"wp-block-heading\">How To Add SVGs to Your Website<\/h2>\n\n\n\n<p>You&#8217;ve made your vector masterpiece. Now, the world deserves to see it.&nbsp;<\/p>\n\n\n\n<p>You can embed SVGs in your website\u2019s HTML. All you need is an <strong><code>&lt;img&gt;<\/code><\/strong> tag that points to your file. It should look something like this:<\/p>\n\n\n\n<p><code>&lt;img src=\"my-awesome-svg.svg\" alt=\"My Awesome SVG\"&gt;<\/code><\/p>\n\n\n\n<p>Alternatively, you can insert the XML code from your SVG file straight into your web page using the <strong><code>&lt;svg&gt;<\/code><\/strong> tag.<\/p>\n\n\n\n<p>Here&#8217;s an example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;svg width=\"200\" height=\"200\"&gt;\n  &lt;circle cx=\"50\" cy=\"50\" r=\"40\" stroke=\"red\" stroke-width=\"2\" fill=\"green\" \/&gt;\n&lt;\/svg&gt;<\/code><\/pre>\n\n\n\n<p>This code will produce a nice round button, with a red outline and a green interior.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Enabling SVG in WordPress<\/h3>\n\n\n\n<p>Adding individual images via HTML is a very slow process. You might prefer to upload SVGs via your CMS (content management system).<\/p>\n\n\n\n<p>But there&#8217;s a problem for WordPress users.<\/p>\n\n\n\n<p>By default, WordPress doesn&#8217;t natively support SVG uploads. This is because bad actors can use SVGs to deliver malware.<\/p>\n\n\n\n<p>The easiest way to enable SVGs is by installing a plugin like<a href=\"https:\/\/en-gb.wordpress.org\/plugins\/safe-svg\/\" target=\"_blank\" rel=\"noreferrer noopener\"> Safe SVG<\/a> or<a href=\"https:\/\/en-gb.wordpress.org\/plugins\/svg-support\/\" target=\"_blank\" rel=\"noreferrer noopener\"> SVG Support<\/a>. These tools check every upload to make sure nothing nasty is hidden inside.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1362\" height=\"717\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/08_safe_svg.webp\" alt=\"screenshot of the Safe SVG download screen\" class=\"wp-image-49647 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/08_safe_svg.webp 1362w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/08_safe_svg-300x158.webp 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/08_safe_svg-1024x539.webp 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/08_safe_svg-768x404.webp 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/08_safe_svg-600x316.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/08_safe_svg-1200x632.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/08_safe_svg-730x384.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/08_safe_svg-784x413.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/08_safe_svg-877x462.webp 877w\" data-sizes=\"(max-width: 1362px) 100vw, 1362px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1362px; --smush-placeholder-aspect-ratio: 1362\/717;\" \/><\/figure>\n\n\n\n<p>You can then upload and insert SVGs via the WordPress Media Library. Simply navigate to <strong>Media &gt; Add New<\/strong>, and choose the graphics you want to include.<\/p>\n\n\n\n<h2 id=\"h2_styling-svgs-with-css\" class=\"wp-block-heading\">Styling SVGs With CSS<\/h2>\n\n\n\n<p>If you embed SVG files using the <strong><code>&lt;svg&gt;<\/code><\/strong> tag, you can change how your images will appear using CSS.<\/p>\n\n\n\n<p>Say you created a green graphic, but you want it to look red on your website. Instead of creating a new copy, you can just write the following style:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>svg {\n  stroke: red;\n  fill: blue;\n}<\/code><\/pre>\n\n\n\n<p>The <strong><code>stroke<\/code><\/strong> attribute defines what color your graphic\u2019s outline should be. Meanwhile, the <strong><code>fill<\/code><\/strong> attribute controls the color between the lines.<\/p>\n\n\n\n<p><strong>Pro tip: <\/strong>There are<a href=\"https:\/\/css-tricks.com\/svg-properties-and-css\/\" target=\"_blank\" rel=\"noreferrer noopener\"> <em>a lot<\/em><\/a> more attributes to play with.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Making Your SVG Images Responsive<\/h3>\n\n\n\n<p>SVG files are infinitely scalable, so you can use them in responsive designs. It just requires a little CSS magic.<\/p>\n\n\n\n<p>Here&#8217;s a step-by-step walkthrough:<\/p>\n\n\n\n<p><strong>1. Embed your image using the <code>&lt;svg&gt;<\/code> tag.<\/strong> This means you can make changes via CSS.<\/p>\n\n\n\n<p><strong>2. Remove the height and width dimensions. <\/strong>This will force your SVG to adapt to its container. Make sure the <strong><code>viewBox<\/code> <\/strong>part remains. It should look something like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;svg viewBox=\"0 0 20 20\" xmlns=\"https:\/\/example.com\/file.svg\"&gt;\n  &lt;!-- svg content here --&gt;\n&lt;\/svg&gt;<\/code><\/pre>\n\n\n\n<p><strong>3. Set the maximum size of your SVG.<\/strong> This prevents the image from spilling outside its container. For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>svg {\n  display: inline-block;\n  max-width: 100%;\n}<\/code><\/pre>\n\n\n\n<p>And you&#8217;re done!<\/p>\n\n\n\n<p><strong>Pro tip:<\/strong> If this all sounds a bit technical, try <a href=\"https:\/\/app.zipwp.com\/pricing\/?aff=933feb1e\" target=\"_blank\" rel=\"noreferrer noopener\">ZipWP<\/a>. It\u2019s an AI-powered website builder that handles the styling for you.<\/p>\n\n\n\n<h2 id=\"h2_svg-masterclass-4-advanced-tips\" class=\"wp-block-heading\">SVG Masterclass: 4 Advanced Tips<\/h2>\n\n\n\n<p>We\u2019ve covered the basics of creating and sharing SVGs. To finish up this guide, let\u2019s look at some advanced techniques.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. Animate Your SVG Graphics<\/h3>\n\n\n\n<p>Did you know that you can make your SVGs dance? Yes, <a href=\"https:\/\/www.dreamhost.com\/blog\/css-animation\/\" target=\"_blank\" rel=\"noreferrer noopener\">animation<\/a> works on this file type.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"902\" height=\"492\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/loading-animation.gif\" alt=\"simple animation of a &quot;Loading&quot; button moving up and down the solid black background graphic \" class=\"wp-image-49653 lazyload\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 902px; --smush-placeholder-aspect-ratio: 902\/492;\" \/><\/figure>\n\n\n\n<p>As with the original image, you can animate your graphics using simple XML code. Just add an <strong><code>&lt;animate&gt;<\/code> <\/strong>element inside your shape to get things moving.<\/p>\n\n\n\n<p>It should look something like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;svg width=\"100%\" height=\"auto\" xmlns=\"https:\/\/example.com\/file.svg\"&gt;\n  &lt;circle cx=\"50\" cy=\"50\" r=\"50\" style=\"fill:red;\"&gt;\n    &lt;animate\n      attributeName=\"cx\"\n      begin=\"0s\"\n      dur=\"5s\"\n      from=\"30\"\n      to=\"90%\"\n      repeatCount=\"indefinite\" \/&gt;\n  &lt;\/circle&gt;\n&lt;\/svg&gt;<\/code><\/pre>\n\n\n\n<p>You can use this technique to add a little movement to icons, create a page loading indicator, or even design animated ads.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. Use SVG Sprites for Faster Load Times<\/h3>\n\n\n\n<p>SVG sprites are like a greatest hits album for your icons. Instead of having dozens of individual icon files, you bundle them all into one SVG.<\/p>\n\n\n\n<p>This means you only need to make one HTTP request per page, no matter how many icons you&#8217;re using. It&#8217;s a great way to reduce loading times and conserve bandwidth.<\/p>\n\n\n\n<p>Many icon packs are delivered in sprite form nowadays. You can<a href=\"https:\/\/hackernoon.com\/how-to-create-svg-sprite-with-icons\" target=\"_blank\" rel=\"noreferrer noopener\"> make your own<\/a>, as well.<\/p>\n\n\n\n<p>To embed a particular icon on your site, you simply pinpoint the area of the sprite file where that icon is saved. You can do this using basic CSS code:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#button {\n  width: 20px;\n  height: 20px;\n  background: url('sprite.svg') -128px 0;\n}<\/code><\/pre>\n\n\n\n<p><strong>Pro tip: <\/strong>We recommend using an online tool like<a href=\"https:\/\/www.toptal.com\/developers\/css\/sprite-generator\/\" target=\"_blank\" rel=\"noreferrer noopener\"> CSS Sprites Generator<\/a> to calculate the correct distances.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. Optimize Your SVG Files for Better Performance<\/h3>\n\n\n\n<p>While SVG files start pretty small, you can optimize them to make them even lighter.<\/p>\n\n\n\n<p>Here\u2019s how to do it:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Use a tool like<\/strong><a href=\"https:\/\/jakearchibald.github.io\/svgomg\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong> SVGOMG<\/strong><\/a>. Yeah, that&#8217;s a real thing. It&#8217;s a great little web app that lets you compress SVGs without losing quality.<\/li>\n\n\n\n<li><strong>Simplify paths where possible<\/strong>. Complicated shapes can turn into vast amounts of XML code. Many vector graphics editors have tools for this task. (It&#8217;s under <strong>Path &gt; Simplify<\/strong> in Inkscape).<\/li>\n\n\n\n<li><strong>Consider lazy loading for SVGs below the fold. <\/strong>By delaying loading images lower down the page, you can reduce the impact of multiple images.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">4. Make Your Graphics Accessible<\/h3>\n\n\n\n<p>Because SVGs are text-based files, they are easy for screen readers and other assistive software to understand.<\/p>\n\n\n\n<p>That said, there are still steps you can take to make them even more accessible:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Include <code>&lt;title&gt;<\/code> and <code>&lt;desc&gt;<\/code> within your SVG files<\/strong>. These elements provide descriptions of the graphic, which are particularly helpful for users who rely on screen readers.<\/li>\n\n\n\n<li><strong>Add a <code>role=\"img\"<\/code> attribute<\/strong>. This informs assistive technologies that the SVG is an image.<\/li>\n\n\n\n<li><strong>Fill in the <code>aria-labelledby<\/code> attribute. <\/strong>which should reference the IDs of the <code>&lt;title&gt;<\/code> and <code>&lt;desc&gt;<\/code> elements, linking them as labels for the image.<\/li>\n\n\n\n<li><strong>For more complex SVGs, provide alt text<\/strong>. Describe the image, so screen readers have less to interpret.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1600\" height=\"666\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/09_make_your_graphics_accessible.webp\" alt=\"simple animation of a &quot;Loading&quot; button moving up and down the solid black background graphic \" class=\"wp-image-49649 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/09_make_your_graphics_accessible.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/09_make_your_graphics_accessible-300x125.webp 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/09_make_your_graphics_accessible-1024x426.webp 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/09_make_your_graphics_accessible-768x320.webp 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/09_make_your_graphics_accessible-1536x639.webp 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/09_make_your_graphics_accessible-600x250.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/09_make_your_graphics_accessible-1200x500.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/09_make_your_graphics_accessible-730x304.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/09_make_your_graphics_accessible-1460x608.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/09_make_your_graphics_accessible-784x326.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/09_make_your_graphics_accessible-1568x653.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/09_make_your_graphics_accessible-877x365.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/666;\" \/><\/figure>\n\n\n\n<p>An additional benefit of making SVGs super-accessible is that you&#8217;re also optimizing them for search. SEO win!<\/p>\n\n\n\n<h2 id=\"h2_taking-care-of-business\" class=\"wp-block-heading\">Taking Care of Business<\/h2>\n\n\n\n<p>Just as Elvis took care of business on stage, SVGs can help you take care of business on your website. These versatile, scalable graphics offer a world of possibilities for web designers and developers alike.<\/p>\n\n\n\n<p>From crisp logos and responsive icons to interactive animations and accessible visuals, SVGs are the unsung heroes of<a href=\"https:\/\/www.dreamhost.com\/blog\/elements-of-webdesign\/\" target=\"_blank\" rel=\"noreferrer noopener\"> modern web design<\/a>.<\/p>\n\n\n\n<p>Having checked out this guide, you should feel pretty confident about using SVGs in your projects. But is your hosting up to the test?<\/p>\n\n\n\n<p>If you want to ensure your site can handle tons of high-quality graphics, consider switching to DreamHost.<\/p>\n\n\n\n<p>Our<a href=\"https:\/\/www.dreamhost.com\/hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\"> hosting plans<\/a> all come with unmetered bandwidth (excluding cloud hosting), meaning you don&#8217;t have to worry if your site gets lots of visitors.<\/p>\n\n\n\n<h2 id=\"h2_fun-faqs-about-svgs\" class=\"wp-block-heading\">Fun FAQs About SVGs<\/h2>\n\n\n\n<p>If you&#8217;re still curious about SVGs, that&#8217;s totally fine. We have more knowledge to share. Here&#8217;s a quick roundup of some questions we might have missed:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How do you convert SVG to JPEG?<strong>&nbsp;<\/strong><\/h3>\n\n\n\n<p>You can do this quickly using a desktop vector editor or an online tool like<a href=\"https:\/\/cloudconvert.com\/svg-to-jpg\" target=\"_blank\" rel=\"noreferrer noopener\"> CloudConvert<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-can-you-edit-svgs-directly-in-a-text-editor\">Can you edit SVGs directly in a text editor?<\/h3>\n\n\n\n<p>Yes! SVGs are XML-based, so you can modify their code directly.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-is-svg-clearer-than-png\">Is SVG clearer than PNG?<\/h3>\n\n\n\n<p>In most cases, yes. This is particularly noticeable if you try to scale up a PNG file.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-can-you-edit-svgs-using-javascript\">Can you edit SVGs using JavaScript?<\/h3>\n\n\n\n<p>Yep, you can. This is useful for dynamic changes based on user inputs.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-are-svgs-supported-in-all-browsers\">Are SVGs supported in all browsers?<\/h3>\n\n\n\n<p>SVGs are supported in all modern web browsers, including Chrome, Firefox, Safari, and Edge.<\/p>\n\n\n\n<div class=\"article-newsletter article-newsletter--gradient\">\n\n\n<h2>Get Content Delivered Straight to Your Inbox<\/h2><p>Subscribe now to receive all the latest updates, delivered directly to your inbox.<\/p><form class=\"nwsl-form\" id=\"newsletter_block_\" novalidate><div class=\"messages\"><\/div><div class=\"form-group\"><label for=\"input_newsletter_block_\"><input type=\"email\"name=\"email\"id=\"input_newsletter_block_\"placeholder=\"Enter your email address\"novalidatedisabled=\"disabled\"\/><\/label><button type=\"submit\"class=\"btn btn--brand\"disabled=\"disabled\"><span>Sign Me Up!<\/span><svg width=\"21\" height=\"14\" viewBox=\"0 0 21 14\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path d=\"M13.8523 0.42524L12.9323 1.34521C12.7095 1.56801 12.7132 1.9304 12.9404 2.14865L16.7241 5.7823H0.5625C0.251859 5.7823 0 6.03416 0 6.3448V7.6573C0 7.96794 0.251859 8.2198 0.5625 8.2198H16.7241L12.9405 11.8535C12.7132 12.0717 12.7095 12.4341 12.9323 12.6569L13.8523 13.5769C14.072 13.7965 14.4281 13.7965 14.6478 13.5769L20.8259 7.39879C21.0456 7.17913 21.0456 6.82298 20.8259 6.60327L14.6477 0.42524C14.4281 0.205584 14.0719 0.205584 13.8523 0.42524Z\" fill=\"white\"\/>\n<\/svg>\n<\/button><\/div><\/form><\/div>\n\n\n<p><em>This page contains affiliate links. This means we may earn a commission if you purchase services through our link without any extra cost to you.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Want sharp, clear graphics that make your website look splendid at any scale? Learn how to create, optimize, and use SVG files with our guide.<\/p>\n","protected":false},"author":1058,"featured_media":49599,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_yoast_wpseo_metadesc":"Want sharp, clear graphics that make your website look splendid at any scale? Learn how to create, optimize, and use SVG files with our guide.","toc_headlines":"[[\"h-the-abcs-of-svgs-understanding-image-files\",\"The ABCs of SVGs: Understanding Image Files\"],[\"h2_working-with-svgs-create-or-copy\",\"Working With SVGs: Create or Copy?\"],[\"h2_how-to-create-and-edit-svg-files\",\"How To Create and Edit SVG Files\"],[\"h2_how-to-add-svgs-to-your-website\",\"How To Add SVGs to Your Website\"],[\"h2_styling-svgs-with-css\",\"Styling SVGs With CSS\"],[\"h2_svg-masterclass-4-advanced-tips\",\"SVG Masterclass: 4 Advanced Tips\"],[\"h2_taking-care-of-business\",\"Taking Care of Business\"],[\"h2_fun-faqs-about-svgs\",\"Fun FAQs About SVGs\"]]","hide_toc":false,"footnotes":""},"categories":[12852],"tags":[],"class_list":["post-49598","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-website-design"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.3 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How To Create and Use SVG Files on Your Website - DreamHost<\/title>\n<meta name=\"description\" content=\"Want sharp, clear graphics that make your website look splendid at any scale? Learn how to create, optimize, and use SVG files with our guide.\" \/>\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-dev.dreamhost.com\/blog\/svg-files\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SVG Files: Your Guide to Crystal Clear, Scalable Graphics\" \/>\n<meta property=\"og:description\" content=\"Find out how to create and optimize SVG files for stunning visuals that stay sharp at any size. Elevate your website\u2019s design with graphics that scale beautifully.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www-dev.dreamhost.com\/blog\/svg-files\/\" \/>\n<meta property=\"og:site_name\" content=\"DreamHost Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DreamHost\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-09-23T14:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-07T20:36:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/TCB-with-SVG-Social-Image.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1220\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Ian Hernandez\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"SVG Files: Your Guide to Crystal Clear, Scalable Graphics\" \/>\n<meta name=\"twitter:description\" content=\"Find out how to create and optimize SVG files for stunning visuals that stay sharp at any size. Elevate your website\u2019s design with graphics that scale beautifully.\" \/>\n<meta name=\"twitter:creator\" content=\"@dreamhost\" \/>\n<meta name=\"twitter:site\" content=\"@dreamhost\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ian Hernandez\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"13 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How To Create and Use SVG Files on Your Website - DreamHost","description":"Want sharp, clear graphics that make your website look splendid at any scale? Learn how to create, optimize, and use SVG files with our guide.","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-dev.dreamhost.com\/blog\/svg-files\/","og_locale":"en_US","og_type":"article","og_title":"SVG Files: Your Guide to Crystal Clear, Scalable Graphics","og_description":"Find out how to create and optimize SVG files for stunning visuals that stay sharp at any size. Elevate your website\u2019s design with graphics that scale beautifully.","og_url":"https:\/\/www-dev.dreamhost.com\/blog\/svg-files\/","og_site_name":"DreamHost Blog","article_publisher":"https:\/\/www.facebook.com\/DreamHost\/","article_published_time":"2024-09-23T14:00:00+00:00","article_modified_time":"2025-10-07T20:36:21+00:00","og_image":[{"width":1220,"height":628,"url":"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/TCB-with-SVG-Social-Image.jpg","type":"image\/jpeg"}],"author":"Ian Hernandez","twitter_card":"summary_large_image","twitter_title":"SVG Files: Your Guide to Crystal Clear, Scalable Graphics","twitter_description":"Find out how to create and optimize SVG files for stunning visuals that stay sharp at any size. Elevate your website\u2019s design with graphics that scale beautifully.","twitter_creator":"@dreamhost","twitter_site":"@dreamhost","twitter_misc":{"Written by":"Ian Hernandez","Est. reading time":"13 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www-dev.dreamhost.com\/blog\/svg-files\/#article","isPartOf":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/svg-files\/"},"author":{"name":"Ian Hernandez","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/person\/220faf2464d5ae08e41cf5f3b28fdc96"},"headline":"TCB With SVG: How To Create and Use SVG Files on Your Website","datePublished":"2024-09-23T14:00:00+00:00","dateModified":"2025-10-07T20:36:21+00:00","mainEntityOfPage":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/svg-files\/"},"wordCount":2359,"publisher":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#organization"},"image":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/svg-files\/#primaryimage"},"thumbnailUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/1460_x_1095_blog_hero_working_with_svg_files.webp","articleSection":["Website Design"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www-dev.dreamhost.com\/blog\/svg-files\/","url":"https:\/\/www-dev.dreamhost.com\/blog\/svg-files\/","name":"How To Create and Use SVG Files on Your Website - DreamHost","isPartOf":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/svg-files\/#primaryimage"},"image":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/svg-files\/#primaryimage"},"thumbnailUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/1460_x_1095_blog_hero_working_with_svg_files.webp","datePublished":"2024-09-23T14:00:00+00:00","dateModified":"2025-10-07T20:36:21+00:00","description":"Want sharp, clear graphics that make your website look splendid at any scale? Learn how to create, optimize, and use SVG files with our guide.","breadcrumb":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/svg-files\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www-dev.dreamhost.com\/blog\/svg-files\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www-dev.dreamhost.com\/blog\/svg-files\/#primaryimage","url":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/1460_x_1095_blog_hero_working_with_svg_files.webp","contentUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2024\/09\/1460_x_1095_blog_hero_working_with_svg_files.webp","width":1460,"height":1095,"caption":"TCB With SVG: How To Create and Use SVG Files on Your Website"},{"@type":"BreadcrumbList","@id":"https:\/\/www-dev.dreamhost.com\/blog\/svg-files\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dhblog.dream.press\/blog\/"},{"@type":"ListItem","position":2,"name":"TCB With SVG: How To Create and Use SVG Files on Your Website"}]},{"@type":"WebSite","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#website","url":"https:\/\/www-dev.dreamhost.com\/blog\/","name":"DreamHost Blog","description":"","publisher":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www-dev.dreamhost.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#organization","name":"DreamHost","url":"https:\/\/www-dev.dreamhost.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/dhblog.dream.press\/blog\/wp-content\/uploads\/2019\/01\/dh_logo-blue-2.png","contentUrl":"https:\/\/dhblog.dream.press\/blog\/wp-content\/uploads\/2019\/01\/dh_logo-blue-2.png","width":1200,"height":168,"caption":"DreamHost"},"image":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DreamHost\/","https:\/\/x.com\/dreamhost","https:\/\/www.instagram.com\/dreamhost\/","https:\/\/www.linkedin.com\/company\/dreamhost\/","https:\/\/www.youtube.com\/user\/dreamhostusa"]},{"@type":"Person","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/person\/220faf2464d5ae08e41cf5f3b28fdc96","name":"Ian Hernandez","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/04\/ian-hernandez-dreamhost-150x150.png","url":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/04\/ian-hernandez-dreamhost-150x150.png","contentUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2022\/04\/ian-hernandez-dreamhost-150x150.png","caption":"Ian Hernandez"},"description":"Ian is a Product Designer based in Los Angeles, California. He is responsible for driving brand and product design at DreamHost, developing and maintaining our internal design system, and writing frontend code when he can. In his free time, he enjoys walking his dog, learning history, and discovering new music online and irl. Connect with him on LinkedIn: https:\/\/www.linkedin.com\/in\/ianhernandez23\/","url":"https:\/\/www-dev.dreamhost.com\/blog\/author\/ianh\/"}]}},"lang":"en","translations":{"en":49598,"es":49610,"ru":52725,"de":55872,"pt":55918,"pl":55924,"uk":55935,"it":68620,"fr":70813,"nl":70839},"pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/49598","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/users\/1058"}],"replies":[{"embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/comments?post=49598"}],"version-history":[{"count":10,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/49598\/revisions"}],"predecessor-version":[{"id":76342,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/49598\/revisions\/76342"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/media\/49599"}],"wp:attachment":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/media?parent=49598"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/categories?post=49598"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/tags?post=49598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}