title: How to add HTML elements Dynamically (ASP.NET)
body: <p>I am creating LINKbuttons Dynamically:</p>
  
  <p>Lnk1</p>
  
  <p>Lnk2</p>
  
  <p>..</p>
  
  <p>I want to Dynamically but a text(Or any HTML Element) between them for example:</p>
  
  <pre><code>Lnk1
  Seperator
  Lnk2
  Sepeperator
  </code></pre>
  
  <p>Here is my code:</p>
  
  <pre><code> for (int i=0;i&lt;10;i++)
              {
      form1.Controls.Add(lnks[i]);
      Response.Write("Seperator&lt;br&gt;");
  }
  </code></pre>
  
  <p>But in output I get the following picture:</p>
  
  <p><img src="https://i.stack.imgur.com/2SiF8.png" alt="enter image description here"></p>
  
  <p>Please let me know how to add one  text exactly after one linkButton.</p>