You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <logevents lecontinue="20190331204758|3181" />
  </query-continue>
  <query>
    <logevents>
      <item logid="3191" ns="2" title="User:Silvia94V474" pageid="0" userid="1505" type="newusers" action="create" user="Silvia94V474" timestamp="2019-08-18T18:55:40Z" comment="" />
      <item logid="3190" ns="0" title="Bathmate Hydromax Review – Enjoy The Results W Photos And Reviews" pageid="0" type="delete" action="delete" user="Vance" timestamp="2019-06-06T21:20:07Z" comment="Spam: the only contributor was &quot;[[Special:Contributions/BrodieBrentnall|BrodieBrentnall]]&quot;" />
      <item logid="3189" ns="2" title="User:BrodieBrentnall" pageid="0" type="delete" action="delete" user="Vance" timestamp="2019-06-06T21:19:36Z" comment="Spam: the only contributor was &quot;[[Special:Contributions/BrodieBrentnall|BrodieBrentnall]]&quot;" />
      <item logid="3188" ns="2" title="User:BrodieBrentnall" pageid="0" type="block" action="block" user="Vance" timestamp="2019-06-06T21:18:48Z" comment="Spamming links to external sites">
        <block flags="nocreate,noemail" duration="infinite" />
      </item>
      <item logid="3187" ns="2" title="User:BrodieBrentnall" pageid="0" userid="1504" type="newusers" action="create" user="BrodieBrentnall" timestamp="2019-06-04T02:53:52Z" comment="" />
      <item logid="3186" ns="0" title="What You Should Do To Find Out About Erection Growth Before You re Left Behind" pageid="0" type="delete" action="delete" user="Vance" timestamp="2019-04-12T15:36:48Z" comment="Spam" />
      <item logid="3185" ns="2" title="User:ManuelBitner200" pageid="0" type="delete" action="delete" user="Vance" timestamp="2019-04-12T15:36:24Z" comment="Spam" />
      <item logid="3184" ns="2" title="User:ManuelBitner200" pageid="0" type="block" action="block" user="Vance" timestamp="2019-04-12T15:35:52Z" comment="Spamming links to external sites">
        <block flags="nocreate,noemail" duration="infinite" />
      </item>
      <item logid="3183" ns="2" title="User:ManuelBitner200" pageid="0" userid="1503" type="newusers" action="create" user="ManuelBitner200" timestamp="2019-04-10T07:53:02Z" comment="" />
      <item logid="3182" ns="2" title="User:Hearing X3 Review2" pageid="0" type="delete" action="delete" user="Vance" timestamp="2019-03-31T20:48:18Z" comment="Spam" />
    </logevents>
  </query>
</api>