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>
    <allpages apcontinue="Backing_Up_and_Restoring_OnePager_Files_for_OnePager_Live" />
  </query-continue>
  <query>
    <allpages>
      <p pageid="765" ns="0" title="Background Images (Portal)" />
      <p pageid="1923" ns="0" title="Background Images for OnePager Live (Portal)" />
      <p pageid="3642" ns="0" title="Background Images for OnePager Live Beta 2 (Portal)" />
      <p pageid="1641" ns="0" title="Background Images for Version 5.3 (Portal)" />
      <p pageid="3186" ns="0" title="Background Images for Version 6.0 (Portal)" />
      <p pageid="3875" ns="0" title="Background Images for Version 6.1 (Portal)" />
      <p pageid="5707" ns="0" title="Background Images for Version 7.0 (Portal)" />
      <p pageid="9799" ns="0" title="Background Images for Version 7.1 (Portal)" />
      <p pageid="11739" ns="0" title="Background Images for Version 7.2 (Portal)" />
      <p pageid="1001" ns="0" title="Backing Up and Restoring OnePager Files" />
    </allpages>
  </query>
</api>