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>
    <images imcontinue="17|Wargaming.net_logo_wiki.png" />
  </query-continue>
  <query>
    <pages>
      <page pageid="17" ns="0" title="Main Page">
        <images>
          <im ns="6" title="File:GameLogo Steel Division 2 small.png" />
          <im ns="6" title="File:GameLogo WoT Blitz small.png" />
          <im ns="6" title="File:GameLogo WoT Mercenaries small.png" />
          <im ns="6" title="File:GameLogo WoWS Legends small.png" />
          <im ns="6" title="File:GameLogo World of Tanks.png" />
          <im ns="6" title="File:GameLogo World of Warplanes.png" />
          <im ns="6" title="File:GameLogo World of Warships.png" />
          <im ns="6" title="File:GamePromo World of Tanks.png" />
          <im ns="6" title="File:GamePromo World of Warplanes.png" />
          <im ns="6" title="File:GamePromo World of Warships.png" />
        </images>
      </page>
    </pages>
  </query>
</api>