+ 22
You're advised to use the <a> tag to make a link-but to what link?
3 ответов
+ 4
You can use it to link the text (or anything else) inside the tag with some other webpage. When you click a hyperlink (links to other webpages), your browser opens the specified webpage as per mentioned in the href attribute.
The syntax looks like:
<a href="www.google.com">Click Me</a>
You can specify the link to any page, and to markup!
+ 3
You can use it to link to another site as mentioned before, but you can also use it to link to sections on the same page. An example would be a book with chapters, where you click on the chapter name at the top of the page and it scrolls down and takes you to that chapter. See http://www.echoecho.com/htmllinks08.htm for an example on how to do this.