What is the difference between HTTP and HTML?
However, the previous computers were very incompatible and they used to preserve the data using the ASCII (American Standard Code for Information Interchange) method. And it would have been known as “plain text”. 0-255 numbers in ASCII work as a variation of various letters, numbers, and keyboard characters such as A, B, C, 1, 2, 3,%, &, and @. Team Burners-Lee uses two basic ASCII systems that are called protocols in the computer terminology. Then all the computers in his lab started following these two rules and he realized that the computers were able to easily exchange information between them.
He named the first rule in HPTP (HyperText Transfer Protocol) (HTTP). This is an important method by which two computers can exchange any information by talking to them. A computer (called a client, and a program that uses the Web browser) is asking for any information from another computer (called a server or web server) as a normal message. After that, the client and the server chat with each other for a few seconds, request the information from the browser server and send it to the browser if the server finds it. This HTTP talk in web browser and web server is a lot like “passing salt in the food table”. Many times your salt needs to be filled and you ask someone else to sit on the table to pass the salinity, and he says, “Take this, your saltpocket”. It works the same way, it is a language that every computer knows, and by talking about it, the computers share files with each other.
The computer needs to recognize that file to show the file to a file computer via HTTP. So here Tim Berners-Lee showed another example of his genius. He uses a common language to share information that is known as HTML. HTML relies on ASCII systems, so any computer can understand it. HTML contains some special codes that are known as tags. Web browsers read these tags and visit bold fonts, Italic, Headlines, tables, and images. If you want to see my webpage’s secret HTML code. From your web browser click on the View page source option on the page, you will see the diameter.
View page source
HTTP and HTML are the systems that depend on which the World Wide Web works. HTTP is a common way through which computers request webpage to each other and HTML is the webpage that all computers can read and display. I hope there is no difficulty in understanding about this. If you have any questions, then you can tell it in tumément.
When the web browser relates to the server:
Web browsers (clients) and servers do not exchange information with each other, using the English language and using the Nimbara Bengali language – they use the HTTP language. When you load this page into your browser, see below what has been said about your web browser and server.
»The web browser that asked
GET / world-wide-web-explained HTTP / 1.1
User-Agent: Mozilla / 5.0 (Windows NT 10.0; WOW64; rv: 47.0) Gecko / 20100101 Firefox / 47.0
Accept: text / html, application / xhtml + xml, application / xml; q = 0.9, * / *; q = 0.8,
Accept-Language: en-gb, en; q = 0.5,
Accept-Encoding: gzip, deflate,
Accept-Charset: ISO-8859-1, utf-8; q = 0.7, *; q = 0.7,
»The server which responded
HTTP / 1.1 200 OK
Date: Mon, 08 Aug 2016 04:38:02 GMT
Content-Type text / html; charset = UTF-8
Want to know the meaning of these messages? Here the browser describes Firefox as the name of the software. I’m running Windows 10 operating system. Moreover, the browser is stating what type of files it supports and which language it supports. It also means that any compressed files will support it (such as gzip). And meant (/ world-wide-web-explained) This page requires the browser. In response to the browser, the server says that he uses nginx software and he is sending a compressed file (gzip). Moreover, the server also says that she is sending text / html files and that is made by UTF-8.
HTTP status code
At the beginning of the server reply, we can see that the HTTP / 1.1 200 has sent the OK message. “200” is the status code – which means the server interprets the file that is being requested from the browser and has been sent. The server can also provide more code. For example – if no webpage or file is found, the server will send the code 404 “Not Found”. Again, if a webpage is moved from one link to another, 301 “Permanently moved” code will be sent. If the server is down to fix the 503 “Service Unavailable” code sends the code and the browser then understands that it needs to be tricked again.