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="6086" ns="0" title="For the Love of God, Volume 2/January 16" />
      <page id="834" ns="0" title="How Can I Change?/Appendix A: Different Roads to Holiness: An Historical Overview" />
    </random>
  </query>
</api>