Media Types: Difference between revisions

Jump to navigation Jump to search
m
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


A simple example of a media type is the GIF format, identified using ''[https://www.w3.org/Graphics/GIF/spec-gif89a.txt image/gif]''. It has no interactions (it doesn't link to anything) and has a specification that tells clients how they should display it.
A simple example of a media type is the GIF format, identified using ''[https://www.w3.org/Graphics/GIF/spec-gif89a.txt image/gif]''. It has no interactions (it doesn't link to anything) and has a specification that tells clients how they should display it.
Media Types are specified in [https://tools.ietf.org/html/rfc2046 rfc2046].


== Identifiers ==
== Identifiers ==
Line 23: Line 25:
* xml
* xml


If you create your own mediatypes you usually want to put them in the ''application'' tree and use a ''vnd.<companyname>'' prefix on the ''subtype''.
If you create your own media type identifiers you usually want to put them in the ''application'' tree and use a ''vnd.<companyname>'' prefix on the ''subtype''.
 
[[Category: RFCs]]

Navigation menu