Home » HTML » Html miscellaneous » Question
  1. Which one is the correct syntax for specifying media type?
    1. (“;” subtype) “/” type *(parameter)
    2. parameter “/” type *(“;” subtype)
    3. subtype ”/” type *(“;” parameter)
    4. type ”/” subtype *( “;” parameter)
    5. None of these
Correct Option: A

Internet media types are used in Content-Type and Accept header fields. Media types are registered with IANA (Internet Assigned Number Authority). The syntax for a media type is m-type = type “/” subtype *(“;” parameter). The name of subtype, type and parameter attribute all are case sensitive.



Your comments will be displayed only after manual approval.