You are looking at the HTML representation of the XML format.
HTML is good for debugging, but probably is not suitable for your application.
See complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <pages>
      <page pageid="5" ns="6" title="File:Dotlogo black.png" />
      <page pageid="4" ns="6" title="File:GitHub Logo.png" />
      <page pageid="185" ns="6" title="File:Voronoi uk.png" />
      <page pageid="186" ns="6" title="File:Voronoi us.png" />
    </pages>
  </query>
</api>