Introduction
Images can be added to an email as foreground or background images. Images should be remotely hosted on a web server and pulled into an email using absolute paths. While similar to the web, the syntax and considerations can be a little different.
Parameters
Parameters | Details |
---|
align | Specifies the alignment of an image relative to the surrounding element(s) |
alt | Alternative text that should be displayed if for some reason the image could not be displayed |
border | How the element handles crossorigin requests |
height | Specifies the height of the image (optional) |
src | Specifies the URL of the image |
srcset | Images to use in different situations (e.g., high-resolution displays, small monitors, etc) |
style | Specifies inline styles to be applied to an element |
usemap | Name of image map to use |
width | Specifies the width of the image |