newbie - HTML Anchors

  • Thread starter Thread starter Mark Oliver
  • Start date Start date
M

Mark Oliver

What is the easiest way to insert a <a href="http:\\somesite.htm">some
text</a>? HTML anchor. Can highlighted text be converted to an anchor
like it is in FrontPage?

Thanks,
Mark
 
Have you tried using the hyperlink control. In Visual Studio.Net you can
just drag the control from the toolbox to the web form. Otherwise use this
code:

<asp:HyperLink id="HyperLink1" runat="server" NavigateUrl="default.aspx">My
HyperLink</asp:HyperLink>

HTH MikeL
 
If you are using vs.net, then your highlighted text can be converted to
anchor tag. After highlighting the text you want to convert, you can press
either ctrl+l or select format menu -->conver to hyperlink option. Then your
text will be converted to hyperlink
 
Thanks Saravana!
Mark

Saravana said:
If you are using vs.net, then your highlighted text can be converted to
anchor tag. After highlighting the text you want to convert, you can press
either ctrl+l or select format menu -->conver to hyperlink option. Then your
text will be converted to hyperlink
 
Back
Top