Which one of the following statements is FALSE?
2004
Which one of the following statements is FALSE?
- A.
HTTP runs over TCP
- B.
HTTP describes the structure of web pages
- C.
HTTP allows information to be stored in a URL
- D.
HTTP can be used to test the validity of a hypertext link
Attempted by 1265 students.
Show answer & explanation
Correct answer: B
Correct answer: "HTTP describes the structure of web pages" is FALSE.
"HTTP runs over TCP" — This is correct. HTTP is an application-layer protocol that typically uses TCP (e.g., ports 80 and 443). Note: HTTP/3 is an exception and runs over QUIC (which uses UDP).
"HTTP describes the structure of web pages" — This is false. The structure and semantics of web pages are defined by HTML (and styled with CSS). HTTP's role is to transfer those resources between client and server.
"HTTP allows information to be stored in a URL" — Effectively true: URLs can contain path segments and query parameters (for example, ?key=value) that carry information to the server, and HTTP requests use those URLs to request resources.
"HTTP can be used to test the validity of a hypertext link" — True. Sending an HTTP HEAD or GET request and checking the response status code (e.g., 200 vs. 404) lets you verify whether a link points to a valid resource.