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="20190617210141|808672" />
  </query-continue>
  <query>
    <logevents>
      <item logid="808682" ns="3" title="User talk:James Bishop" pageid="153708" logpage="153708" type="delete" action="revision" user="Conservative" timestamp="2019-06-17T23:48:19Z" comment="">
        <param>revision</param>
        <param>1531912</param>
        <param>ofield=0</param>
        <param>nfield=7</param>
      </item>
      <item logid="808681" ns="3" title="User talk:James Bishop" pageid="153708" logpage="153708" type="patrol" action="patrol" user="Conservative" timestamp="2019-06-17T23:48:04Z" comment="">
        <patrol cur="1531913" prev="1531912" auto="1" />
      </item>
      <item logid="808680" ns="3" title="User talk:James Bishop" pageid="153708" logpage="153708" type="patrol" action="patrol" user="Conservative" timestamp="2019-06-17T23:47:30Z" comment="">
        <patrol cur="1531912" prev="1531884" auto="1" />
      </item>
      <item logid="808679" ns="0" title="MAN" pageid="153709" logpage="93421" type="move" action="move_redir" user="DavidB4" timestamp="2019-06-17T21:24:35Z" comment="our LAN and WAN articles use their full names, so this probably should too.">
        <move new_ns="0" new_title="Metropolitan Area Network" />
      </item>
      <item logid="808678" ns="2" title="User:45.67.214.37" pageid="0" logpage="0" type="block" action="block" user="DavidB4-bot" timestamp="2019-06-17T21:02:26Z" comment="[[User:DavidB4-bot/blacklist|Blacklisted]] IP address. Please connect from your own, local internet address, or [[User:DavidB4-bot/blacklist|click here for more information]].">
        <block flags="nocreate" duration="12 Months" expiry="2020-06-17T21:02:26Z" />
      </item>
      <item logid="808677" ns="2" title="User:178.128.71.150" pageid="0" logpage="0" type="block" action="block" user="DavidB4-bot" timestamp="2019-06-17T21:02:19Z" comment="[[User:DavidB4-bot/blacklist|Blacklisted]] IP address. Please connect from your own, local internet address, or [[User:DavidB4-bot/blacklist|click here for more information]].">
        <block flags="nocreate" duration="12 Months" expiry="2020-06-17T21:02:19Z" />
      </item>
      <item logid="808676" ns="2" title="User:134.119.188.147" pageid="0" logpage="0" type="block" action="block" user="DavidB4-bot" timestamp="2019-06-17T21:02:13Z" comment="[[User:DavidB4-bot/blacklist|Blacklisted]] IP address. Please connect from your own, local internet address, or [[User:DavidB4-bot/blacklist|click here for more information]].">
        <block flags="nocreate" duration="12 Months" expiry="2020-06-17T21:02:13Z" />
      </item>
      <item logid="808675" ns="2" title="User:2.56.188.41" pageid="0" logpage="0" type="block" action="block" user="DavidB4-bot" timestamp="2019-06-17T21:01:57Z" comment="[[User:DavidB4-bot/blacklist|Blacklisted]] IP address. Please connect from your own, local internet address, or [[User:DavidB4-bot/blacklist|click here for more information]].">
        <block flags="nocreate" duration="12 Months" expiry="2020-06-17T21:01:57Z" />
      </item>
      <item logid="808674" ns="2" title="User:2.56.188.114" pageid="0" logpage="0" type="block" action="block" user="DavidB4-bot" timestamp="2019-06-17T21:01:48Z" comment="[[User:DavidB4-bot/blacklist|Blacklisted]] IP address. Please connect from your own, local internet address, or [[User:DavidB4-bot/blacklist|click here for more information]].">
        <block flags="nocreate" duration="12 Months" expiry="2020-06-17T21:01:48Z" />
      </item>
      <item logid="808673" ns="2" title="User:93.188.163.121" pageid="0" logpage="0" type="block" action="block" user="DavidB4-bot" timestamp="2019-06-17T21:01:44Z" comment="[[User:DavidB4-bot/blacklist|Blacklisted]] IP address. Please connect from your own, local internet address, or [[User:DavidB4-bot/blacklist|click here for more information]].">
        <block flags="nocreate" duration="12 Months" expiry="2020-06-17T21:01:44Z" />
      </item>
    </logevents>
  </query>
</api>