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="20150517042108|1149" />
  </query-continue>
  <query>
    <logevents>
      <item logid="1159" ns="6" title="File:ESP8266.jpg" pageid="883" logpage="883" img_sha1="3zuz6f47j40lvg5fsklg7oeqauos1az" img_timestamp="2017-02-24T19:04:52Z" type="upload" action="upload" user="SteveBaker" timestamp="2017-02-24T19:04:54Z" comment="" />
      <item logid="1158" ns="6" title="File:JumpingToConclusions.png" pageid="881" logpage="881" img_sha1="6fcq9lrsr64f0qy1wg5s9xmv7dplq11" img_timestamp="2016-11-02T16:18:05Z" type="upload" action="upload" user="SteveBaker" timestamp="2016-11-02T16:18:05Z" comment="" />
      <item logid="1157" ns="6" title="File:IndianHead.png" pageid="879" logpage="879" img_sha1="94rcshl7dxesjvcqlnmwytf1xhl7h8m" img_timestamp="2016-04-11T04:00:09Z" type="upload" action="upload" user="SteveBaker" timestamp="2016-04-11T04:00:09Z" comment="" />
      <item logid="1156" ns="6" title="File:WildlifeRanch 2015 059.jpg" pageid="874" logpage="0" type="upload" action="upload" user="Maintenance script" anon="" timestamp="2015-05-17T04:21:09Z" comment="Importing image file" />
      <item logid="1155" ns="6" title="File:WildlifeRanch 2015 058.jpg" pageid="873" logpage="0" type="upload" action="upload" user="Maintenance script" anon="" timestamp="2015-05-17T04:21:09Z" comment="Importing image file" />
      <item logid="1154" ns="6" title="File:WildlifeRanch 2015 057.jpg" pageid="872" logpage="0" type="upload" action="upload" user="Maintenance script" anon="" timestamp="2015-05-17T04:21:09Z" comment="Importing image file" />
      <item logid="1153" ns="6" title="File:WildlifeRanch 2015 056.jpg" pageid="871" logpage="0" type="upload" action="upload" user="Maintenance script" anon="" timestamp="2015-05-17T04:21:09Z" comment="Importing image file" />
      <item logid="1152" ns="6" title="File:WildlifeRanch 2015 055.jpg" pageid="870" logpage="0" type="upload" action="upload" user="Maintenance script" anon="" timestamp="2015-05-17T04:21:08Z" comment="Importing image file" />
      <item logid="1151" ns="6" title="File:WildlifeRanch 2015 054.jpg" pageid="869" logpage="0" type="upload" action="upload" user="Maintenance script" anon="" timestamp="2015-05-17T04:21:08Z" comment="Importing image file" />
      <item logid="1150" ns="6" title="File:WildlifeRanch 2015 053.jpg" pageid="868" logpage="0" type="upload" action="upload" user="Maintenance script" anon="" timestamp="2015-05-17T04:21:08Z" comment="Importing image file" />
    </logevents>
  </query>
</api>