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 lestart="2018-01-02T09:15:35Z" />
  </query-continue>
  <query>
    <logevents>
      <item logid="3934" ns="2" title="User:Jeollo6903" pageid="0" type="newusers" action="create" userid="1619" user="Jeollo6903" timestamp="2018-01-17T04:31:18Z" comment="" />
      <item logid="3933" ns="2" title="User:Captain Nemo" pageid="0" type="newusers" action="create" userid="1618" user="Captain Nemo" timestamp="2018-01-13T12:36:09Z" comment="" />
      <item logid="3932" ns="2" title="User:Anshullahoti" pageid="0" type="newusers" action="create" userid="1617" user="Anshullahoti" timestamp="2018-01-12T15:46:26Z" comment="" />
      <item logid="3931" ns="2" title="User:Desertgeek" pageid="0" type="newusers" action="create" userid="1616" user="Desertgeek" timestamp="2018-01-09T05:24:22Z" comment="" />
      <item logid="3930" ns="2" title="User:Lucas31415" pageid="0" type="newusers" action="create" userid="1615" user="Lucas31415" timestamp="2018-01-08T21:13:51Z" comment="" />
      <item logid="3929" ns="2" title="User:Riddhirupkacchu" pageid="0" type="newusers" action="create" userid="1614" user="Riddhirupkacchu" timestamp="2018-01-07T13:22:09Z" comment="" />
      <item logid="3928" ns="0" title="Building from SVN" pageid="64" type="patrol" action="patrol" user="Sean" timestamp="2018-01-05T04:32:14Z" comment="">
        <patrol cur="10478" prev="10476" auto="1" />
      </item>
      <item logid="3927" ns="6" title="File:Running cmake on windows.png" pageid="1770" type="upload" action="upload" img_sha1="pz0a7i7b7a4xom18wj7yy7azavcgjhw" img_timestamp="2018-01-05T04:27:27Z" user="Sean" timestamp="2018-01-05T04:27:27Z" comment="Screenshot showing CMake running on Windows.  Specify source and build directories.  Select &quot;Configure&quot;, select &quot;Generate&quot;.  If all goes well, it will complete successfully showing a summary of how you configured the build and what was autodetected.  I..." />
      <item logid="3926" ns="0" title="Building from SVN" pageid="64" type="patrol" action="patrol" user="Sean" timestamp="2018-01-05T04:21:30Z" comment="">
        <patrol cur="10476" prev="7931" auto="1" />
      </item>
      <item logid="3925" ns="2" title="User:Erhantunc70" pageid="0" type="newusers" action="create" userid="1613" user="Erhantunc70" timestamp="2018-01-04T00:30:59Z" comment="" />
    </logevents>
  </query>
</api>