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="98" ns="0" title="World Cup Liberec 2011" />
      <page id="121" ns="0" title="EOC 2012 Relay" />
    </random>
  </query>
</api>