Anchor Tag
Anchor tag <a> defines a link on HTML Page.
<a href="http://www.techaltum.com">Click Me</a>
On clicking Click Me, the techaltum.com page will open in the same tab.
We can also put a image inside anchor tag.
<a href="http:www.techaltum.com"><img src="logo.png"/></a>
If you want to open the page in new tab, use Target attribute.
<a href="http://www.techaltum.com" target="_blank">Click Me</a>
Default properties of a link are
Anchor tag <a> defines a link on HTML Page.
<a href="http://www.techaltum.com">Click Me</a>
On clicking Click Me, the techaltum.com page will open in the same tab.
We can also put a image inside anchor tag.
<a href="http:www.techaltum.com"><img src="logo.png"/></a>
If you want to open the page in new tab, use Target attribute.
<a href="http://www.techaltum.com" target="_blank">Click Me</a>
Default properties of a link are
- Color=Blue.
- Underline
- Cursor=pointer.
- active color:red;
- visited color:purple.
We can also link button to email.
Email Link
<a href="mailto:yourmailid@domain.com">Mail Me</a>
Join me on facebook at
No comments:
Post a Comment