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="1870" ns="0" title="Eclisse parziale di Luna del 16 agosto 2008" />
      <page id="18053" ns="0" title="Cielo di Settembre 2023" />
    </random>
  </query>
</api>