The main difference between HTML and XML is that HTML is a hypertext markup language that develops the structure of a web page…