you will have to type the full address starts from
http://
<a href="http://www.Test.com">Test</a>
from code behind:
add an
Id
attribute and
runat="server"
to the anchor tag as
<a id="anchorID" runat="server">Test</a>
and the
href
can be assigned in code behind as
anchorID.Attributes["href"] = "http://www.Test.com";