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>
    <links plcontinue="1|0|Subdomains" />
  </query-continue>
  <query>
    <pages>
      <page pageid="1" ns="0" title="Main Page">
        <links>
          <pl ns="0" title="Banned Videos" />
          <pl ns="0" title="BerryTube First Time Visitor&#039;s Guide" />
          <pl ns="0" title="BerryTube My Little Pony Drinking Game Rules" />
          <pl ns="0" title="Chat markup" />
          <pl ns="0" title="CyTube Events" />
          <pl ns="0" title="Domains" />
          <pl ns="0" title="Episode statistics" />
          <pl ns="0" title="History" />
          <pl ns="0" title="Schedule" />
          <pl ns="0" title="Servers" />
        </links>
      </page>
    </pages>
  </query>
</api>