Despite the XML and Http in the name, XHR is used with other protocols than HTTP, and the data can be of many different types like HTML, CSS, XML, JSON, and plain text.
Short for hypertext transfer protocol, HTTP is a set of standards that allow users of the World Wide Web to exchange information on web pages. When accessing any web page, entering http:// in front of the address tells the browser to communicate over HTTP.