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="1186" ns="0" title="Caramel creams 10" />
      <page id="1233" ns="0" title="Extended Stay Hotels Experience life in any poor man s bedroom 84" />
    </random>
  </query>
</api>