Data URI Scheme. Data URI scheme is defined in RFC2397 to embed some small data directly into a Web page so that no longer has to be loaded from an external file. For example, the above string of characters, in fact, is a small picture, these
base64 simply, it translates some 8-bit data into standard ASCII characters, and we write the contents of the image file directly in the HTML file, and the benefit is that an HTTP request is saved Data URI Scheme. Data URI scheme is defined in
Data URI scheme.Data URI scheme is defined in RFC2397 to embed small Data into a webpage without loading it from an external file. For example, the string above is actually a small image. copy and paste these characters into the address bar of
Data/base64 webmasters often use more data. I often see that they generate data/base64 data for images and then input the data. This shows a very long string, now let's take a look at the php input method. Let's take a look at data/B.
Data/base64
Database64 webmasters often use more data. I often see that they generate database64 data for images and then input it. This shows a long string, now let's take a look at the php input method. Data/base64 webmasters often use more data. I often see
Presumably everyone knows the Web page loading process, from the start of the request, to the loading page, start parsing and display the Web page, encountered the picture will send a request to the server, load the picture. If there is a lot of
You may have noticed that the URLs of some SRC or CSS background images on the webpage are followed by a large string of characters, such as data: image/PNG and base64, release/keauffr0cbng3nqpw68arzdalozpppfibhh5eab8b + tlt9myq6i1buqfaq1cksvcxz2acs6
Base64 URL Image CSSThe Data URI scheme is defined in the RFC2397SVG path line width: stroke-widthOnline Base64 encryption/decryption Link:So what is this? This is the data URI scheme.The data URI scheme is defined in RFC2397 to embed some small
Recently writing interface ———— about image upload
The foreground uses the Vuejs, uses the base64 to upload the picture, filedata: "Data:image/jpeg;base64,9j/4aaqsk ...", puts this data directly in the address bar, also can display the picture, But
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.