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="20150328164043|199" />
  </query-continue>
  <query>
    <logevents>
      <item logid="209" ns="2" title="User:DelKnight" pageid="0" logpage="0" userid="11" type="newusers" action="byemail" user="WikiSysop" timestamp="2019-10-15T12:38:09Z" comment="new user" />
      <item logid="208" ns="0" title="Motion MMAL" pageid="183" logpage="183" type="patrol" action="patrol" user="Peejaywk" timestamp="2016-02-27T18:32:00Z" comment="">
        <patrol cur="857" prev="856" auto="1" />
      </item>
      <item logid="207" ns="0" title="Motion MMAL" pageid="183" logpage="183" type="patrol" action="patrol" user="Peejaywk" timestamp="2016-02-27T18:24:29Z" comment="">
        <patrol cur="856" prev="846" auto="1" />
      </item>
      <item logid="206" ns="0" title="Timelapse Camera" pageid="194" logpage="194" type="patrol" action="patrol" user="Peejaywk" timestamp="2015-05-16T11:27:10Z" comment="">
        <patrol cur="855" prev="854" auto="1" />
      </item>
      <item logid="205" ns="0" title="Timelapse Camera" pageid="194" logpage="194" type="patrol" action="patrol" user="Peejaywk" timestamp="2015-05-16T10:56:29Z" comment="">
        <patrol cur="854" prev="853" auto="1" />
      </item>
      <item logid="204" ns="0" title="Timelapse Camera" pageid="194" logpage="194" type="patrol" action="patrol" user="Peejaywk" timestamp="2015-05-16T10:55:24Z" comment="">
        <patrol cur="853" prev="0" auto="1" />
      </item>
      <item logid="203" ns="6" title="File:VLC convert save raw profile.png" pageid="192" logpage="0" type="upload" action="upload" user="Martin" timestamp="2015-03-28T16:41:45Z" comment="" />
      <item logid="202" ns="6" title="File:VLC convert save open media network convert.png" pageid="191" logpage="0" type="upload" action="upload" user="Martin" timestamp="2015-03-28T16:41:31Z" comment="" />
      <item logid="201" ns="6" title="File:VLC convert save open media network.png" pageid="190" logpage="0" type="upload" action="upload" user="Martin" timestamp="2015-03-28T16:41:19Z" comment="" />
      <item logid="200" ns="6" title="File:VLC convert save open media.png" pageid="189" logpage="0" type="upload" action="upload" user="Martin" timestamp="2015-03-28T16:41:04Z" comment="" />
    </logevents>
  </query>
</api>