1.

What indicates the content in file is HTML when delivered on the network.(a) The extension of the file “.html”(b) The “content-type” header(c) Both “.html” extension and “content-type” header(d) The “content_type” headerI had been asked this question in an online interview.My doubt stems from Traditional HTML and XHTML in chapter HTML Fundamentals of HTML

Answer»

The CORRECT option is (B) The “content-type” header

The BEST explanation: Content-type: header indicates the content in the FILE is HTML and we can see file content through it when delivered on the network. “.html” is the file EXTENSION for HTML.



Discussion

No Comment Found

Related InterviewSolutions