You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <images gimcontinue="1|Town_portrait_Cove_small.gif" />
  </query-continue>
  <query>
    <pages>
      <page pageid="7239" ns="6" title="File:AB.png" contentmodel="wikitext" pagelanguage="en" touched="2019-04-13T06:04:10Z" lastrevid="40192" counter="" length="35" />
      <page pageid="6452" ns="6" title="File:Artifacts ui icon.png" contentmodel="wikitext" pagelanguage="en" touched="2018-08-07T02:13:57Z" lastrevid="40236" counter="" length="35" />
      <page pageid="6453" ns="6" title="File:Creatures ui icon.png" contentmodel="wikitext" pagelanguage="en" touched="2018-08-07T02:13:57Z" lastrevid="40237" counter="" length="35" />
      <page pageid="6454" ns="6" title="File:Heroes ui icon.png" contentmodel="wikitext" pagelanguage="en" touched="2018-08-07T02:13:57Z" lastrevid="40238" counter="" length="35" />
      <page pageid="962" ns="6" title="File:Homm3.jpg" contentmodel="wikitext" pagelanguage="en" touched="2018-08-07T02:13:57Z" lastrevid="26093" counter="" length="22" />
      <page pageid="7232" ns="6" title="File:HotA.png" contentmodel="wikitext" pagelanguage="en" touched="2019-05-24T04:37:36Z" lastrevid="40194" counter="" length="35" />
      <page pageid="7382" ns="6" title="File:Maps ui icon.png" contentmodel="wikitext" pagelanguage="en" touched="2018-08-07T02:13:57Z" lastrevid="40190" counter="" length="35" />
      <page pageid="6455" ns="6" title="File:Spells ui icon.png" contentmodel="wikitext" pagelanguage="en" touched="2018-08-07T02:13:57Z" lastrevid="40239" counter="" length="35" />
      <page pageid="4008" ns="6" title="File:Town portrait Castle small.gif" contentmodel="wikitext" pagelanguage="en" touched="2019-04-12T17:50:33Z" lastrevid="16006" counter="" length="27" />
      <page pageid="4016" ns="6" title="File:Town portrait Conflux small.gif" contentmodel="wikitext" pagelanguage="en" touched="2019-04-12T17:50:33Z" lastrevid="16014" counter="" length="27" new="" />
    </pages>
  </query>
</api>