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="KDE_Telepathy" />
  </query-continue>
  <query>
    <allpages>
      <p pageid="17" ns="0" title="Calligra" />
      <p pageid="9" ns="0" title="Cantor" />
      <p pageid="75269" ns="0" title="DigiKam" />
      <p pageid="180" ns="0" title="EngCom/TODO" />
      <p pageid="75281" ns="0" title="GCompris" />
      <p pageid="75264" ns="0" title="KCM Touchpad" />
      <p pageid="45" ns="0" title="KDEPIM" />
      <p pageid="75280" ns="0" title="KDE Connect" />
      <p pageid="40" ns="0" title="KDE Games" />
      <p pageid="103" ns="0" title="KDE Partition Manager" />
    </allpages>
  </query>
</api>