Scalable Vector Graphics (SVG) is a W3C drawing standard built around XML, which enables fast and lightweight graphs (comparison tables and graphs) one of several vector graphics technologies that can be quickly presented on an appropriate viewer.
This topic describes common ways to present SVG on a webpage and assumes that you have basic knowledge about html and JavaScript.
Introduction
SVG Rendering Method
Inline HTML5
Inline XHTML
Independent SVG
Embedded
Plug-ins
// Specify a stream that cannot be read by the client and must be downloaded.Response. contenttype = "application/X-msdownload ";
Mime
The MIME type is the type used by an application to open a file with a certain extension. When a file with the
Now the font icon has gradually replaced the picture, the mobile end is also very convenient to use.
Using the font file to display the vector icon, in order to be able to display the icon correctly on IIS, you can support the icon font file by
Tutorial
Https://www.cnblogs.com/jsean/articles/1610265.htmlHttps://developer.mozilla.org/zh-CN/docs/Web/HTTP/Basics_of_HTTP/MIME_typesRecently in reading Golang source code, see mime.go This file, a little to read.
About MIME
MIME, mutipurpose
[1] common MIME types (general type): hypertext markup language text. HTML text/htmlxml document. XML text/xmlxhtml document. XHTML application/XHTML + XML plain text. TXT text/plainrtf text. RTF application/rtfpdf document. PDF
Today in the deployment process, found in the formal environment above SVG can not display normally, excited mood immediately was poured a basin of cold water, before the development of the time is under Tomcat, show everything is normal, it is the
Mime everything starts with a bad browser and it doesn't support XHTML at all.
What is MIME Type?
Why do you say that? First, we need to understand how the browser handles content. The content displayed in the browser is HTML, XML, GIF, and
This article is still transferred from the old blog of juyou. The MIME type commonly used in the article is also reposted because the old blog is no longer updated and readers need this article.
The MIME type is the type used by an application to
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.