http needs a reliable mechanism to provide connectivity between the Host i.e. the web browser and the Server i.e the web server.
Now TCP is the transport layer protocol that provides it reliable communication with three-way handshake mechanism it uses to connect between a client and a server. We also have UDP at transport layer but it is not reliable way of communicating.
So http uses TCP at transport layer of OSI Model.
HTTP is a reliable mechanism to provide connectivity between host and web server . TCP and UDP are transport layer Protocols. Transmission control protocol (TCP) is the one used by HTTP.
TCP
UDP: DNS, TFTP, DHCP... TCP: SMTP, HTTP, HTTPS, DNS, FTP, SHH, Telnet...
Yes, it does.
Aknowlagement
UDP is alot faster than TCP. So if its realtime obviously it has to be fast, thus UDP. The only problem is UDP isn't as reliable or as secure as TCP. But it does have the speed advantage.
UDP does not require as much resources as TCP but in the same time, it does not insure delivery of packets.
No it uses UDP packets.
UDP
UDP and TCP both are transport layer protocols. UDP is connection less and TCP is connection oriented. UDP is preferred over TCP when large amount data is to be sent like on skype or video conferencing .
DNS uses both TCP and UDP, also a lot of online chats use UDP. I think even when you want videos on YouTube UDP is used to deliver video and audio.
You can use either TCP or UDP. If you need reliable connection use TCP otherwise UDP.
UDP and TCP sockets are layer 4 ports which are associated with certain services, ie TCP80 refers to the HTTP (web) protocol, TCP443 refers to the HTTPS (SSL) secure protocol and TCP/UDP53 refers to DNS.