asp hyperlink: font, width and text (C#) : Hyperlink « Asp Control « ASP.Net






asp hyperlink: font, width and text (C#)

<%@Page Language="C#"%>
<html>
<body>

<asp:hyperlink id="lnkTest" runat="server"
               navigateurl="http://www.java2s.com"
               forecolor="red"
               backcolor="yellow"
               font-name="Times New Roman,serif"
               font-size="large"
               font-bold="true"
               width="75%"
               text="a yellow hyperlink with red text" />

</body>
</html>

           
       








Related examples in the same category

1.Displaying a Graphic on a HyperLink Control (VB.net)
2.asp:HyperLink: border style and width (VB.net)
3.Hyperlink: command name and url (VB.net)
4.asp:HyperLink with NavigateURL (VB.net)
5.asp Hyperlink button (C#)