All Collections
Sharing and Downloading
Sharing assets
How to add ALT tags to an embedded asset
How to add ALT tags to an embedded asset
Charlie Pinker avatar
Written by Charlie Pinker
Updated over a week ago

When embedding a Dash asset on the web using our embeddable links feature, you may wish to include an alt tag for improved SEO and accessibility.

Once you have manually generated the HTML embed code in Dash, you can manually add an alt tag to the code before adding it to your website/CMS/etc.

An HTML embed link looks like this:

<img src="https://link.assetfile.io/6t8MjtnD7I1dULecye6gjg/feey-fvXmI2fu-yE-unsplash.jpg">

An embed link which includes an alt tag looks like this:

<img alt="Mini Monstera Plant" src="https://link.assetfile.io/6t8MjtnD7I1dULecye6gjg/feey-fvXmI2fu-yE-unsplash.jpg">

Note the additional alt attribute included in the code

How to add an alt tag to your embedded asset

  1. Copy the "HTML Embed" code from the embed menu

  2. Paste the code into your desired location, and add alt="..." after the "<img " text, as per the example above

  3. Save the code in your destination application

Did this answer your question?