Add a div in your aspx , in which you want to add all your anchor tags
<div id="divTest" runat="server"></div>
Code , to add an anchor Tag to the Div
HtmlAnchor htmlAnchor = new HtmlAnchor();
htmlAnchor.HRef = "www.google.com";
htmlAnchor.InnerText = "Click";
divTest.Controls.Add(htmlAnchor);