0% found this document useful (0 votes)
3 views1 page

HTML Anchor Control Example

The document contains a server-side script that sets up two HTML anchor controls. The first link directs to W3Schools and the second to Microsoft, both opening in a new tab. The output displays the links as clickable text on a web page.

Uploaded by

Hasnain Ansari
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

HTML Anchor Control Example

The document contains a server-side script that sets up two HTML anchor controls. The first link directs to W3Schools and the second to Microsoft, both opening in a new tab. The output displays the links as clickable text on a web page.

Uploaded by

Hasnain Ansari
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Htmlanchor Control

<script runat="server"> Sub Page_Load [Link]="[Link] [Link]="_blank" [Link]="W3Schools" [Link]="[Link] [Link]="_blank" [Link]="Microsoft" End Sub </script> <html> <body> <form runat="server"> <a id="link1" runat="server">Visit W3Schools!</a> <br /> <a id="link2" runat="server">Visit Microsoft!</a> </form> </body> </html> OUTPUT :

Visit W3Schools! Visit Microsoft!

You might also like