Glubase - share your knowledge


All / Computers / Programming / HTML / XHTML

  • View Object

contenttype

Description

A contenttype attribute defines what type of a document the address refers to.

Some examples of contenttypes are:

  • text/html: A HTML document.
  • image/jpeg: A jpeg image.
  • audio/mpeg: A mpeg video file
  • video/quicktime: A quicktime video file.
  • text/css: A Cascading Style Sheet document
  • text/javascript: A JavaScript

There are several content types that are registered at the IANA.