What is base 64?
Base64 is a group of similar binary-to-text encoding schemes that represent binary data in an ASCII string format by translating it into a radix-64 representation. The term Base64 originates from a specific MIME content transfer encoding.
Why we will use base 64?
In a website we use many image small images, those images are not heavy weight but browser make one HTTP request per file while its loading. Its very bad, We should try always to make less HTML request.
No need to tell more just go here and submit your image and you will see the code with two format, one for HTML and one for CSS.
Copy and paste then Cheers (y)