Q: Which one is the correct syntax for specifying media type?
Solution: 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.
Q: Which header field defines meta information?
Solution: A HTTP header which does not relate to the content of message is a response-header. A request-header is used to provide information about request or response. Entity-header field defines meta information about the body. If the body is not present resource is identified by request. The general syntax for all the header fields is msg-header=field-name “:” [field-value]. General-header field is for both response and request.
Q: Which of the following is not the request method?
Solution: There are various request methods on the resource identified by Request-URI. Get, post, head, delete, trace, connect, put and options are some of the methods. For retrieving information from the server we use Get method.
Q: Which symbol is used when HTTP request does not apply to the particular source?
Solution: When HTTP request does not apply to particular resource ‘*’ is used. It is applied to the server itself. This is only allowed when the used method is not necessarily applied to the resource. E.g. OPTIONS * HTTP/1.1
Q: Which of the following is not a request-header field?
Solution: For passing additional information about request we use request-header fields. These are also requested modifiers. There are several request-header fields like Accept-Encoding, Expect, Accept-Charset, Accept-Language, Form, Host, Authorization, If-Match, Proxy-Authorization, Range, User-Agent, TE, Referer, If-Unmodified-Since, If-Range.
Q: What does ‘3xx’ code denote?
Solution: ‘3xx’ means Redirection, any further action have to be taken for completing the request. ‘1xx’ is for Informational, it signifies that the request was received and the process is going on. ‘2xx’ denotes Success, which signifies the action was successfully understood, received and accepted.
Q: Which of the following is not a response-header field?
Solution: For passing additional information about the response that can’t be placed in Status-Line, we use response-header fields. Some of the fields are Age, Accept-Ranges, Location, ETag, WWW-Authenticate, Vary, Server, Retry-After.
Q: Which of the following element represents a thematic break rather than a horizontal rule, though that is the likely representation?
Solution: The
Q: Which of the following element was redefined to represent user interface menus, including context menus?
Solution:
Q: Which of the following HTML 4 attributes is not removed in HTML5?
Solution: Mark attribute is still used in HTML5 but rest of attributes i.e. text, rules, link are deprecated in HTML5.
You Have Score    | /10 |