The anchor tag defines either a link or an anchor in a document.
To add a link... you will use the <a href="location"> opening tag and </a> closing tag. Whatever appears between these two tags will become underlined and colored, and if you click on the underlined text it will send the browser to the location within the quotes.
If you are just linking to a page in the same directory as your current page, you don't need the domain, just the page name. If you have a page called contactme.html, you can use the code <a href="what-is-aspnet.html"> ASP.Net</a>.
No comments:
Post a Comment