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="20160330160428" timestamp="2016-03-30T16:04:28Z" ns="0" title="Energy data" />
        <page value="20160401150415" timestamp="2016-04-01T15:04:15Z" ns="0" title="Water data" />
        <page value="20160405194451" timestamp="2016-04-05T19:44:51Z" ns="0" title="Minorities at risk" />
        <page value="20160405194720" timestamp="2016-04-05T19:47:20Z" ns="0" title="State failure project" />
        <page value="20160405195002" timestamp="2016-04-05T19:50:02Z" ns="0" title="Finland Futures Research Centre (FFRC)" />
        <page value="20160405195223" timestamp="2016-04-05T19:52:23Z" ns="0" title="FreedomHouse" />
        <page value="20160405195755" timestamp="2016-04-05T19:57:55Z" ns="0" title="Global Trade Analysis Project (GTAP)" />
        <page value="20160405200500" timestamp="2016-04-05T20:05:00Z" ns="0" title="State failure data" />
        <page value="20160405201451" timestamp="2016-04-05T20:14:51Z" ns="0" title="Oil &amp; Gas Journal" />
        <page value="20160405202920" timestamp="2016-04-05T20:29:20Z" ns="0" title="OECD Science &amp; Technology" />
      </results>
    </querypage>
  </query>
</api>