Create a div using loop
<p>I create a div and its css id like this.</p>

<pre><code>&lt;div id="r1" class="ansbox"&gt;&lt;/div&gt;
&lt;div id="r2" class="ansbox"&gt;&lt;/div&gt;
&lt;div id="r3" class="ansbox"&gt;&lt;/div&gt;
&lt;div id="r4" class="ansbox"&gt;&lt;/div&gt;
&lt;div id="r5" class="ansbox"&gt;&lt;/div&gt;
&lt;div id="r6" class="ansbox"&gt;&lt;/div&gt;
&lt;div id="r7" class="ansbox"&gt;&lt;/div&gt;
&lt;div id="r8" class="ansbox"&gt;&lt;/div&gt;
&lt;div id="r9" class="ansbox"&gt;&lt;/div&gt;
&lt;div id="r10" class="ansbox"&gt;&lt;/div&gt;
</code></pre>

<p>is there a way to create this div using looping statement. Anyone help me..</p>
