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="6747" ns="0" title="How should we respond to friends who are considering divorce?" />
      <page id="10923" ns="0" title="Only Our God Speaks" />
    </random>
  </query>
</api>