How do you add an HTML link tag <a>?

  • Thread starter Thread starter Jim Mitchell
  • Start date Start date
J

Jim Mitchell

Why is there no link tag on the Visual Studio HTML tool bar? What is the
best way to add it other than as the text property of a label control?

Thanks in advance.
 
Simply add the link tag into the html for your aspx page.

First you will need to switch to HTML view...when you open
your aspx page, usually, by default, it opens in Design
view. Look near the bottom of the window that shoes you
all your controls...and you will see a "Design" button and
a "HTML" button. Click the HTML button and that lets you
see the actual html your page is made up of.

If you can't find the HTML button or if you want to use
the shortcut, click anywhere inside the window displaying
the controls for your page and then hit CTRL and the Page
Up buttons at the same time. This shortcut switches you
back and forth between the Design and the HTML views.

Once you can see the HTML view, you can add whatever html
tags (or asp .net web server tags) you want to your page.
So find the place where you want your link tag to be and
type away.
 
Back
Top