Which of the following statements is/are TRUE ? (a) In HTML, character entities are used to incorporate external content into a web page, such as images. (b) Once a web server returns a cookie to a browser, the cookie will be included in all future requests from the browser to the same server.
Which of the following statements is/are TRUE ? (a) In HTML, character entities are used to incorporate external content into a web page, such as images. (b) Once a web server returns a cookie to a browser, the cookie will be included in all future requests from the browser to the same server. Correct Answer Neither (a) nor (b) is TRUE.
The correct answer is option 4.
EXPLANATION
Statement I: False
Entities are used to display characters that have special HTML meanings, such as "<" and ">".
Statement II: False
Not every request sends the cookies. It depends on the cookie configuration and client-server connection. For example, if your cookie's secure option is set to true then it must be transmitted over a secure HTTPS connection. This means when you see that website with HTTP protocol then these cookies won't be sent by browsers as the secure flag is true.
If the cookie has been expired it will not send by browsers as the secure flag is true.
∴ Hence the correct answer is Neither (a) nor (b) is TRUE.