MIME 类型
文件扩展名对照
| 扩展名 | MIME 类型 |
|---|---|
.html | text/html |
.css | text/css |
.js | application/javascript |
.json | application/json |
.xml | application/xml |
.csv | text/csv |
.txt | text/plain |
.md | text/markdown |
.yaml/.yml | application/x-yaml |
.png | image/png |
.jpg/.jpeg | image/jpeg |
.gif | image/gif |
.webp | image/webp |
.svg | image/svg+xml |
.ico | image/x-icon |
.pdf | application/pdf |
.zip | application/zip |
.gz | application/gzip |
.mp4 | video/mp4 |
.webm | video/webm |
.mp3 | audio/mpeg |
.woff | font/woff |
.woff2 | font/woff2 |
.ttf | font/ttf |
.wasm | application/wasm |
.toml | application/toml |
使用说明
文件扩展名对照
✓ 完全在浏览器本地处理,不上传服务器