The ContentType property specifies the HTTP content type for the response. If no ContentType is specified, the default comes from the content which is rendering.
Sets or returns a String value.
The ContentType string is usually formatted type/subtype where type is the general content category and subtype is the specific content type. For a full list of supported content types, see your Web browser documentation or the current HTTP specification.
The following example sets the content type to JPEG image.
<% Response.ContentType = "image/jpeg" %>
The following examples set the ContentType property to other common values.
<% Response.ContentType = "text/html" %>
<% Response.ContentType = "image/GIF" %>
<% Response.ContentType = "text/plain" %>