Anchor tag is used to create hyperlink in web page.
We can provide a hyperlink to give a option to user to redirect or open new page on same or on another window.
Here href attribute value is a url or path of next page where you want to redirect or open the page
Tag
1 | <a href="url">Display name</a> |
Example
1 | <a href="http://ebhor.com">Go to Ebhor main page</a> |
Output
If you want to know how to open a page in new window then click here