How to embed Base64 images into HTML

You can easy use this sample code to embed Base64 images into your HTML code.

<div>
  <p>An example of loitools.com</p>
  <img src="data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUA
    AAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO
        9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Red dot" />
</div>

So basically, you can use this syntax:

 data:image/jpeg;charset=utf-8;base64, 

Arcording to this document.