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="36912" ns="0" title="河童の砲手/Kappa Cannoneer" />
      <page id="20612" ns="0" title="イゼットの静電術師/Izzet Staticaster" />
    </random>
  </query>
</api>