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>
    <pages>
      <page pageid="1" ns="0" title="Main Page">
        <images>
          <im ns="6" title="File:11★ Sanctum Exchange announcement banner.png" />
          <im ns="6" title="File:Album button.jpg" />
          <im ns="6" title="File:Ascension button.png" />
          <im ns="6" title="File:Card Pack button.jpg" />
          <im ns="6" title="File:Close 1.jpg" />
          <im ns="6" title="File:Close 2.jpg" />
          <im ns="6" title="File:Close 3.jpg" />
          <im ns="6" title="File:Enhance button.jpg" />
          <im ns="6" title="File:Fantasica.png" />
          <im ns="6" title="File:Fantasica Error.jpeg" />
        </images>
      </page>
    </pages>
  </query>
  <query-continue>
    <images imcontinue="1|Fantasica_Faithful_Rewards_banner.png" />
  </query-continue>
</api>