what can a server send as response when a browser demands a .html file
Answers
Answered by
2
Server will react simple.html record when program requests .html document. Likewise on account of .php file when server requests .php document on the other hand browser give .html document as output. You can check the source code by making a simple.html document and .php file. View source code with the assistance of Ctrl +U .You will get same output on both .html and .php code.
In reality program dont comprehend .php code so server initially change over .php code in .html and after that send this .html file to browser.
Server can control the headers of http reaction and browser will comprehend them. Commonly, server reacts with a html file containing the html+javascript code to be executed at browser. It can likewise return http error message with fitting error code.
In reality program dont comprehend .php code so server initially change over .php code in .html and after that send this .html file to browser.
Server can control the headers of http reaction and browser will comprehend them. Commonly, server reacts with a html file containing the html+javascript code to be executed at browser. It can likewise return http error message with fitting error code.
Similar questions
Math,
8 months ago
India Languages,
8 months ago
Math,
8 months ago
Physics,
1 year ago
Biology,
1 year ago
Social Sciences,
1 year ago
Social Sciences,
1 year ago