Once you have added the "runat" and "id" fields you should have access to it in your code behind in any of the life cycle methods as an HtmlGenericControl.
C#
protected HtmlGenericControl TitleLogo;
private void Page_Load(object sender, System.EventArgs e)
{
if(!Page.IsPostBack)
{
TitleLogo.Attributes["href"] = "Images/TM33.ico";
}
}
And in VB
Protected TitleLogo As HtmlGenericControl
Private Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
If Not Page.IsPostBack Then
TitleLogo.Attributes("href") = "Images/TM33.ico"
End If
End Sub