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="3297" ns="0" title="SKRZYPCZAK HUBERT ZENON, bokser, olimpijczyk" />
      <page id="2038" ns="0" title="LICZMAŃSKI ALFONS, działacz gdańskiej Polonii, patron gdańskiej ulicy" />
    </random>
  </query>
</api>