lookup> text/css

text/css

text/css is a text media type commonly associated with .css extensions.

textUTF-8CompressibleContent-Type
MIME typetext/css
Extensions.css
CharsetUTF-8
CompressibleYes
Sourceiana

text/css

text/css is one of the text media types used on the internet, with charset UTF-8, and it is safe to compress for transport. When serving this content over HTTP, set the Content-Type header in the response, for example:

Content-Type: text/css; charset=utf-8

Related entities: associated extensions include .css, and is delivered over HTTP via the Content-Type header, commonly with GET, POST, PUT and PATCH requests.

Related formats:

CSS Stylesheet
.cssserved as
mime type
text/csssent via header
http header

text/css is identified in HTTP by the Content-Type header and is commonly used with these methods:

What is text/css?

text/css is a text media type used to identify a content format; servers announce it to clients with the Content-Type header.

Which file extensions use text/css?

Extensions such as .css are associated with this MIME type.

How do I set the Content-Type for text/css?

Send Content-Type: text/css; charset=utf-8 in the HTTP response.

Related extensions

Related MIME types

Related headers

Related methods