title: In ASP.NET how can I dynamically add a formatting tag?
body: <p>I have the following on an ASP.NET page:</p>
  
  <pre><code>&lt;li&gt;&lt;asp:Hyperlink id="myHyperlink" runat="server"&gt;My Text&lt;/asp:Hyperlink&gt;&lt;/li&gt;
  </code></pre>
  
  <p>Sometimes in code I need to be able to dynamically add a STRONG tag around the hyperlink so that it looks like this:</p>
  
  <pre><code>&lt;li&gt;&lt;strong&gt;&lt;asp:Hyperlink id="myHyperlink" runat="server"&gt;My Text&lt;/asp:Hyperlink&gt;&lt;/strong&gt;&lt;/li&gt;
  </code></pre>
  
  <p>Is there some elegant way to do this in code?  I know I could get it done using Literals but I just wondered if there was some special method that I didn't know about that allowed you to insert tags like that.</p>
  
  <p>Thanks,
  Corey</p>