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>
    <querypage qpoffset="10" />
  </query-continue>
  <query>
    <querypage name="Ancientpages">
      <results>
        <page value="20180224162102" timestamp="2018-02-24T16:21:02Z" ns="0" title="Thomas Muir" />
        <page value="20180224162212" timestamp="2018-02-24T16:22:12Z" ns="0" title="Mary Barbour" />
        <page value="20180224162639" timestamp="2018-02-24T16:26:39Z" ns="0" title="Helen Crawfurd" />
        <page value="20180224163204" timestamp="2018-02-24T16:32:04Z" ns="0" title="Tom Bell" />
        <page value="20180224163323" timestamp="2018-02-24T16:33:23Z" ns="0" title="Jane Hamilton Patrick" />
        <page value="20180224163449" timestamp="2018-02-24T16:34:49Z" ns="0" title="George (Ballard) Barrett" />
        <page value="20180224163543" timestamp="2018-02-24T16:35:43Z" ns="0" title="Frank Leech" />
        <page value="20180224163902" timestamp="2018-02-24T16:39:02Z" ns="0" title="Helen Brown Scott Lennox" />
        <page value="20180224164015" timestamp="2018-02-24T16:40:15Z" ns="0" title="William C. McDougal" />
        <page value="20180224164232" timestamp="2018-02-24T16:42:32Z" ns="0" title="Ethel MacDonald" />
      </results>
    </querypage>
  </query>
</api>