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>
    <links gplcontinue="1|14|Ship" />
  </query-continue>
  <query>
    <pages>
      <page pageid="5559" ns="0" title="Acheron Class Destroyer (1910)" contentmodel="wikitext" pagelanguage="en" touched="2019-02-24T16:48:39Z" lastrevid="285530" counter="77353" length="19034" />
      <page pageid="1385" ns="0" title="Queen Elizabeth Class Battleship (1913)" contentmodel="wikitext" pagelanguage="en" touched="2018-04-06T19:29:51Z" lastrevid="264582" counter="83720" length="34769" />
      <page pageid="6052" ns="0" title="Sim:Main Page" contentmodel="wikitext" pagelanguage="en" touched="2019-01-16T02:46:26Z" lastrevid="284987" counter="57878" length="5870" />
      <page pageid="15112" ns="2" title="User:Christopher Buckey" contentmodel="wikitext" pagelanguage="en" touched="2015-05-13T03:37:33Z" lastrevid="112884" counter="9254" length="460" />
      <page pageid="11063" ns="2" title="User:Jellicoe" contentmodel="wikitext" pagelanguage="en" touched="2016-06-25T14:08:51Z" lastrevid="204840" counter="14798" length="769" />
      <page pageid="1399" ns="2" title="User:Simon Harley" contentmodel="wikitext" pagelanguage="en" touched="2017-11-19T01:55:56Z" lastrevid="254330" counter="57722" length="3120" />
      <page pageid="4131" ns="2" title="User:Tone" contentmodel="wikitext" pagelanguage="en" touched="2019-01-24T20:30:10Z" lastrevid="285140" counter="36634" length="2074" />
      <page pageid="1426" ns="4" title="The Dreadnought Project:About" contentmodel="wikitext" pagelanguage="en" touched="2012-05-05T15:29:54Z" lastrevid="33909" counter="45051" length="981" />
      <page pageid="3736" ns="14" title="Category:Fire Control" contentmodel="wikitext" pagelanguage="en" touched="2019-04-11T12:12:28Z" lastrevid="286278" counter="51370" length="12926" />
      <page pageid="8259" ns="14" title="Category:People" contentmodel="wikitext" pagelanguage="en" touched="2019-04-09T19:03:25Z" lastrevid="285523" counter="767826" length="1159" />
    </pages>
  </query>
</api>