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="6663" ns="0" title="Old School RuneScape Bonds Generator 2025 Rejuvenated Cheats" />
      <page id="6666" ns="0" title="Wild Rift League of Legends Generator Working Wild Cores Generator Wild Rift League of Legends" />
    </random>
  </query>
</api>