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>
    <random>
      <page id="9639" ns="0" title="Chat log from the meeting on 2016-08-16" />
      <page id="1845" ns="0" title="Getting Started with Region Modules/New" />
    </random>
  </query>
</api>