html image標籤小記

主要是用到了base64.我貼一下html 的代碼.能直接另存爲html文件來展現的.html

<html>
<body>

<img  src="data:image/jpg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAB4AIQDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD3+vFfincPJ4uWJgu2K2RVwvPJJ5Pfr/nmvaq8U+KaxDxeDGxLm2QyA9my3A/DH50pbDRxWPanpI0ZyKmgnAIVwD9avrBazJ90ZPcVAypqF0JNCu4wxBaPH05FL4QuTB4aWIgMN74LfWmatZiDSrqSM8YAwfQsBVr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wL4cv8AJfTI4W7Nbkx46dhx29KxpPhbpyxEWmp38UnYyFXX8gB/Ou7opWQHkWufDvU9Osbq9j1K1ngtoXlcy5iOFXJ9R2PUivDYJCzFmPzMcmvsm6tbe+tpLa7t4ri3kG14pUDqw9CDwa861r4I+Gb8PJpj3OlTkHHlOZItxOclHyfwVlFTKN9jWlUUXqeGxSADrUpnwK7jUfgn4ks1lexvLK+jRCUQMY5ZDzgBW+Udur+vXvw+ueHvEPhsE6xpNzbRjbmYruiBPQeYuVz7ZrJwZ2KtF7MfYW11q+p29haJ5k87hEXIGT+JA/WvoCDRtft4EhiihVEUKo8wcAVxPwT8JytK/im/hdF2mOxV1wGB4aQc56ZUcdzXtdaRhpqctapzOyOMGi69KCH8lfQmTP8ASpx4V1GUYm1ZUGekcOSRj1J9fausoquVGN2YemeFbDTp47lmmubpBxJK3APchRx+ecVuUUVQgooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKAP/9k=" />
</body>
</html>

src裏面有個  data:image/jpg;base64  這種格式.c++

相關文章
相關標籤/搜索