albert's blog
Total Pageviews
2019/04/07
[HTML] Using DATA URI to show image in HTML
Here has a simple example to demonstrate how to use base64 string to show image in HTML instead of physical image file.
Steps
Step 1. Find a picture and
upload to
https://www.base64-image.de/
Step 2.
Copy base64 string
Step 3. G
o to https://plnkr.co/ to do test
Here has an url to demonstrate
https://plnkr.co/edit/xt2W5IFQgvqgOwwmgHUT?p=preview
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment