Search the Whole World Here.,.,

HTML Links - Syntax


In HTML, links are defined with the <a> tag:
<a href="url">link text</a>

Example

<a href="https://www.facebook.com/yaarnotech/">Visit our Facebook Page</a>
Try it Yourself »
The href attribute specifies the destination address (https://www.facebook.com/yaarnotech/) of the link.
The link text is the visible part (Visit our Facebook Page).
Clicking on the link text will send you to the specified address.
Note: Without a forward slash on subfolder addresses, you might generate two requests to the server. Many servers will automatically add a forward slash to the address, and then create a new request.


EmoticonEmoticon