layui数据uri
We're all familiar with traditional URI protocols like https, http, ftp, and file, but data URIs have become a large part of our online strategy. We can use them to display images, the Mac camera and webcams, and more. But what if we simply want to use a data URI to convey basic data?
我们都熟悉传统的URI协议,例如https,http,ftp和file,但是数据URI已成为我们在线策略的重要组成部分。 我们可以使用它们来显示图像 , Mac摄像机和网络摄像头等。 但是,如果我们只是想使用数据URI传达基本数据怎么办?
Typing a data URI shouldn't be difficult, and it isn't. As someone that works on the Firefox DevTools Debugger, I'm often typing out data URIs to illustrate problems. The format is:
键入数据URI应该并不困难,也并非如此。 作为使用Firefox DevTools Debugger的人,我经常输入数据URI来说明问题。 格式为:
data:text/html,<body class="blah"></body>
We're all so ingrained to use protocol://subdomain.domain.tld
addresses that data URIs look foreign...but they require the least amount of resources to express content!
我们都非常protocol://subdomain.domain.tld
使用protocol://subdomain.domain.tld
地址,以致数据URI看起来很陌生...但是它们需要最少的资源来表示内容!
layui数据uri