A virtual teacher who reveals to you the great secrets of Base64

HTML Base64

HTML is a standardized markup language for creating web documents which are usually interpreted by web browsers. As you probably already know, on a HTML page the web developer can embed and show external web resources, such as images, sound, or video files. Typically, for each web resource, the browser must make at least one HTTP request to load it. However, the web developer can directly “inject” the same web resources into the HTML page by encoding them to Base64 and embedding them with Data URI. This will avoid additional HTTP requests, which sometimes may significantly improve page speed. In addition, it can solve some “exclusive” tasks.

Below are listed the most popular HTML tags that support the Base64 Data URIs. Click on the desired HTML tag to get more information and see embedding examples.

Add new comment

If you have any questions, remarks, need help, or just like this page, please feel free to let me know by leaving a comment using the form bellow.
I will be happy to read every comment and, if necessary, I will do my best to respond as quickly as possible. Of course, spammers are welcome only as readers.