MIME MIME stands for Multipurpose Internet Mail Extensions. It’s a standard that defines how different types of data, such as text, images, audio, and video, are encoded and transmitted over the internet.
MIME types are used to specify the content type of a file or data. This information helps applications like web browsers, email clients, and servers to handle and display the data correctly.
Here are some common MIME types:
text/plain: Plain text (e.g., text files, email messages)
text/html: HTML (Hypertext Markup Language) for web pages
text/css: CSS (Cascading Style Sheets) for styling web pages
text/javascript: JavaScript for dynamic web content
image/jpeg: JPEG (Joint Photographic Experts Group) images
image/png: PNG (Portable Network Graphics) images
image/gif: GIF (Graphics Interchange Format) images
audio/mpeg: MP3 audio files
audio/wav: WAV audio files
video/mp4: MP4 video files
video/webm: WebM video files
MIME types are typically specified in the HTTP headers of a request or response. For example, a web server might send a response with a Content-Type header like this:
Content-Type: image/jpeg
mailto:someone@example.com
, tel:1234567890
, urn:isbn:0-321-14652-5
The URL (Uniform Resource Locator) is a specific type of URI that provides the location of a resource on the internet.
Typically used for web-based resources, such as web pages, images, and files.http://www.example.com
, https://images.example.com/image.jpg
urn:isbn:0-321-14652-5
, urn:uuid:6e8bc430-9c3a-11d9-9669-0800200c9a66
http://www.example.com
, https://images.example.com/image.jpg
http://
, https://
, ftp://
, mailto:
, tel:
http://www.example.com/search?q=query&limit=10
http://www.example.com/page#section1
../images/logo.png
, page2.html
http://www.example.com/images/logo.png
//cdn.example.com/script.js