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>
    <allpages gapcontinue="Tutorials" />
  </query-continue>
  <query>
    <pages>
      <page pageid="913" ns="0" title="Test2">
        <revisions>
          <rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">==== test2 ====

&lt;hmtl&gt;
&lt;title&gt;webpage title&lt;/title&gt;
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;styles.css&quot;&gt;

&lt;body&gt;

&lt;div id=&quot;wrapper&quot;&gt;

&lt;div id=&quot;header&quot;&gt;
[[File:Rtdm2-01.jpg|850px]]
&lt;/div&gt;

&lt;div id=&quot;menu&quot;&gt;
&lt;html&gt;
&lt;script src='http://assets.juicer.io/embed.js' type='text/javascript'&gt;&lt;/script&gt;
&lt;link href='http://assets.juicer.io/embed.css' media='all' rel='stylesheet' type='text/css' /&gt;
&lt;div&gt;&lt;ul class='juicer-feed' data-feed-id='introduction-programme' data-pages='1'&gt;&lt;/ul&gt;&lt;/div&gt;
&lt;/html&gt;
&lt;/div&gt;

&lt;div id=&quot;content&quot;&gt;
&lt;html&gt;
&lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/videoseries?list=PLFtbK23fsvt_2W4kilnwMkoBd8pwhtIX5&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;
&lt;/html&gt;
&lt;/div&gt;

&lt;div id=&quot;footer&quot;&gt;
[[File:Rtdm2-01.jpg|850px]]
&lt;/div&gt;

&lt;/div&gt;
&lt;/body&gt;
&amp;l6;/html&gt;


&lt;html&gt;
&lt;script src='http://assets.juicer.io/embed.js' type='text/javascript'&gt;&lt;/script&gt;
&lt;link href='http://assets.juicer.io/embed.css' media='all' rel='stylesheet' type='text/css' /&gt;
&lt;div&gt;&lt;ul class='juicer-feed' data-feed-id='introduction-programme'&gt;&lt;/ul&gt;&lt;/div&gt;
&lt;/html&gt;


&lt;html&gt;
&lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/videoseries?list=PLFtbK23fsvt_2W4kilnwMkoBd8pwhtIX5&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;
&lt;/html&gt;</rev>
        </revisions>
      </page>
      <page pageid="1802" ns="0" title="Test3">
        <revisions>
          <rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">__NOTOC____NOTITLE__

==test3==

&lt;comments voting=&quot;Plus&quot;&gt;</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>