title: adding HTML element based on random values
body: <p>is there any way we can add HTML element based on some value
  for eg, let's say we are unsure of value(i), after some function &quot;i&quot; value is obtained and depending on &quot;i&quot;, in different lines value is shown. Something like if i=3,<code>&lt;p&gt;one&lt;/p&gt;&lt;p&gt;two&lt;/p&gt;&lt;p&gt;three&lt;/p&gt;</code>. if i=5, five <p> element should be added in HTML structure</p>