how to load all elements on my page with javascript?
<p>I have a dynamic page with different elements in each generates, and I want to load all of their lines to an alert for example or a page with JavaScript. Is this possible?</p>

<p>For example, if I had this line to my page:</p>

<pre><code>&lt;marquee&gt; This is for test &lt;/marquee&gt;
</code></pre>

<p>I want to show all of it to an alert or a page, somethings like that :</p>

<p>Pseudo-code:</p>

<pre><code>&lt;script&gt;
alert(getAllData) | write(getAllData)
&lt;/script&gt;
</code></pre>

<p>Output: (in alert)</p>

<blockquote>
  <p>&lt;marquee> This is for test &lt;/marquee></p>
</blockquote>
