emailImages


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

ParametersDetails
alignSpecifies the alignment of an image relative to the surrounding element(s)
altAlternative text that should be displayed if for some reason the image could not be displayed
borderHow the element handles crossorigin requests
heightSpecifies the height of the image (optional)
srcSpecifies the URL of the image
srcsetImages to use in different situations (e.g., high-resolution displays, small monitors, etc)
styleSpecifies inline styles to be applied to an element
usemapName of image map to use
widthSpecifies the width of the image