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="1496" ns="0" title="Main Page">
        <images>
          <im ns="6" title="File:Crystal 128 down.png" />
          <im ns="6" title="File:Crystal 128 kuser.png" />
          <im ns="6" title="File:Crystal Clear app display.png" />
          <im ns="6" title="File:Crystal Clear app konsole.png" />
          <im ns="6" title="File:Exquisite-khelpcenter.png" />
          <im ns="6" title="File:Pile.png" />
        </images>
      </page>
    </pages>
  </query>
</api>