How to Insert a JPEG Image Into an HTML Email

Written by dustin thornton
  • Share
  • Tweet
  • Share
  • Email

When composing an e-mail you may wish to insert a JPEG image into the message. You can do so by uploading the desired image to a server online, composing the message in HTML and inserting the image URL into the HTML code. To insert a JPEG image into your e-mail message, you must use an e-mail program that allows you to compose e-mails using pure HTML. Inserting the image into the email message is a straightforward task and you can insert as many images as you wish.

Skill level:


  1. 1

    Upload the JPEG image to the Internet. You can upload the file to an image sharing website or your own web server, if you have one. Locate the image URL. The URL should resemble ""

  2. 2

    Compose an HTML e-mail in your e-mail program. Note that this process may be different based on which e-mail program you are using. Ensure that your e-mail program supports sending HTML e-mail messages.

  3. 3

    Insert the following line of code into the HTML e-mail, wherever you want the image to appear:

    <img src="" />

    Replace the entire URL with the URL of the image on the Internet.

  4. 4

    Repeat the previous step, inserting as many images as you wish into the body of the HTML e-mail.

  5. 5

    Add the "width," "height," or "border" tag to the code to alter the size (in pixels) of the image or create a border around it. Note that this is optional. For example:

    <img src="" height="100" width="100" border="1" />

  6. 6

    Add the "alt" tag to the code to insert alternative text if the recipients e-mail program does not support HTML images. Note that this is also optional. For example:

    <img src="" alt="Image Name" />

    Replace "Image Name" with the text that you want to appear as an alternative if the recipients e-mail does not support HTML images.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.