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>
    <allpages gapcontinue="Test_Day_KDE_4.9" />
  </query-continue>
  <query>
    <pages>
      <page pageid="1697" ns="0" title="TAZ4 welcome event" contentmodel="wikitext" pagelanguage="en" touched="2017-11-01T14:37:13Z" lastrevid="53493" counter="6799" length="329" />
      <page pageid="2145" ns="0" title="Telescreen" contentmodel="wikitext" pagelanguage="en" touched="2017-12-13T09:53:26Z" lastrevid="80407" counter="8087" length="885" />
      <page pageid="2160" ns="0" title="Test" contentmodel="wikitext" pagelanguage="en" touched="2018-02-22T08:48:08Z" lastrevid="80447" counter="2080" length="123" />
      <page pageid="2161" ns="0" title="Test2" contentmodel="wikitext" pagelanguage="en" touched="2018-02-22T08:50:32Z" lastrevid="80449" counter="1693" length="115" />
    </pages>
  </query>
</api>