Which HTTP header is used to indicate the type of content being sent in the response body? MCQ with Answer and Explanation

Which HTTP header is used to indicate the type of content being sent in the response body?
A. Content-Type
B. User-Agent
C. Host
D. Content-Length
Answer: Option A
Solution (By JKSSB Mock Tests)
The Content-Type header indicates the media type (MIME type) of the resource, e.g., text/html, application/json.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Internet and Web Technologies Questions

Question #1
What is a hyperlink?
A. A text or image that links to another web page
B. A protocol for data transfer
C. A markup language element
D. A type of browser extension

Correct Answer: Option A


Explanation:
A hyperlink is a reference in a web document that users can click to navigate to another document or resource, commonly implemented with tags in HTML.

This question belongs to: Computer Internet and Web Technologies
Question #2
What is the purpose of the 'Intranet' inside a modern banking enterprise or government establishment?
A. To share data publicly with global consumers across the planet
B. To prevent browsers from utilizing cookie data structures
C. To replace physical ethernet cable connectors with satellite links
D. To provide a secure, private, closed internal network accessible only to verified employees

Correct Answer: Option D


Explanation:
An intranet is a private internal network hub protected by security walls, used exclusively by staff members to share internal communications and resources securely.

This question belongs to: Computer Internet and Web Technologies
Question #3
What is the function of the 'title' tag in HTML?
A. To define the main heading
B. To provide a tooltip for links
C. To set the title of the web page displayed in the browser tab
D. To specify the document language

Correct Answer: Option C


Explanation:
The tag defines the title of the document, which appears in the browser's title bar or tab.

This question belongs to: Computer Internet and Web Technologies