Answers for "img src to base64"

2

How to display Base64 images in HTML?

<div>
  <p>Taken from wikpedia</p>
  <img src="data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUA
    AAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO
        9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Red dot" />
</div>
Posted by: Guest on October-23-2020
2

img src data base64

<img src="data:image/png;base64,..." /> <!-- Replace png with the mime type of the image --!>
Posted by: Guest on March-01-2021
6

base64 image in html

<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4
  //8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Red dot" />
Posted by: Guest on October-03-2020

Browse Popular Code Answers by Language