Stay organized with collections
Save and categorize content based on your preferences.
When you're including an image that's served from the same domain as your
page, use a site-root-relative URL (starting with "/"). Use this URL format
(starting from the site root) even if the image is in the same directory as
the page that includes it.
HTML
Insert the URL in the src attribute of your img element:
<img
src="/shared/images/arrow-24.png"
alt="Alt text description of arrow image."
/>
Markdown
Insert the URL in parentheses after the image's alt text:
![Alt text description of arrow image.](/shared/images/arrow-24.png)
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-15 UTC."],[[["Always use site-root-relative URLs (starting with \"/\") for images hosted on the same domain, regardless of the image's location relative to the page."],["In HTML, place the site-root-relative URL within the `src` attribute of the `\u003cimg\u003e` tag."],["In Markdown, place the site-root-relative URL in parentheses immediately following the alt text within the image markdown syntax."],["This guideline specifically addresses internal image linking within the provided style guide and may not represent universal best practices for all URL contexts."]]],[]]