121k views
2 votes
What do we use HTTP and HTML for?

User Jayant
by
5.1k points

2 Answers

2 votes

HTML is a Language while HTTP is a Protocol.

HTML tags are used to help render web pages. The Hypertext Mark-up Language (or HTML) is the language used to create documents for the World Wide Web.

HTTP (Hypertext Transfer Protocol) is a protocol for transferring the hypertext pages from Web Server to Web Browser. HTTP is a generic and stateless protocol which can be used for other purposes as well using extensions of its request methods, error codes, and headers. Basically, HTTP is a TCP/IP based communication protocol, that is used to deliver data (HTML files, image files, query results, etc.) on the World Wide Web.

User Belissa
by
5.9k points
4 votes
HTTP is protocol while HTML is a language
User Anup Dey
by
4.6k points