Data.URI.scheme

<! DOCTYPE HTML> 
<HTML> 
<body> 
<-! 
The Data is the URI scheme defined in RFC2397, is a small object data embedded in Web pages directly, thereby no longer loaded from an external file. 
Currently, Data type URL scheme supported: 
the Data :, text data, 
the Data : text / Plain, text data, 
the Data : text / HTML, HTML code for 
the Data : text / HTML; Base64, Base64-encoded HTML code for 
the Data : text / CSS, CSS Code 
data : text / CSS; Base64, Base64 encoding CSS code 
data : text / the JavaScript, Javascript code 
data : text / JavaScript; Base64, Base64 encoding Javascript code 
data : image / gif; Base64, Base64 encoding gif image data 
data: Image / png; Base64, Base64 encoding png image data 
Data : Image / jpeg; Base64, Base64-encoded jpeg image data 
Data : Image / X-icon; Base64, Base64-encoded picture data icon
 -> 
<IMG the src = "Data: Image / JPEG; Base64, / 9j / 4AAQSkZJRgABAQAAAQABAAD"> 
</ body> 
</ HTML>

 

Guess you like

Origin www.cnblogs.com/songjianming/p/10994871.html