HTML Text Links

Actually Links allow the users to go to another page.The World Wide Web also works like a link and when we write on the browser like www.domainname.com.Actually we call their IP that's work like a link and  we access the web page.Most people don't know the html links are actually html anchors using anchor tags like <a>.
Now i want to show you the example of html text link but here is something missing now see

Example:
<a>I am text link!</a>


Your Result:
I am text link!

the above example is like a text link ,but when you use this code on a web browser the element is incomplete
because it missing the vital attributes,and through these attribute we visit from one page to another web page.
called Hypertext Reference (href),but it look like a text link.

HTML-Hypertext Reference(href)
A Hypertext Reference (href) are the attribute that allow the user to go to another location and this href attribute require a proper URL for landing a user to different location.
Now i want to show with the example see

Example:
<a href="http://www.Facebook.com/" target="_blank">Facebook Login<a/>
<br />
<a href="http://www.espn.com/" target="_blank">ESPN Home</a>
<br />
<a href="http://www.yahoo.com/" target="_blank">Yahoo Home</a>

now here is the result in a browser ,now see
Your Result:
Here is the example of text links
Facebook Login
ESPN Home
Yahoo Home
and here is the example in a browser.

HTML-Link Target


HTML Link target means when we create a link and when the visitor clicked on the link how the link will be open .Will each link open in a new window or on the same window?

Link Targets
Target=Description


  • _blank
 the link open in a new browser window


  • _self
 the link open in the current window


  • _parent
 the link  open into a parent frame


  • _top
 the link open into the current browser window, cancelling all frames
the top two values are most important but the second value is set on the browser by default.

Example:
<a href="http://www.ESPN.com" target="_blank">ESPN.COM</a>

Your Result:
ESPN.COM

HTML  Email Link
Creating an Email Link is so simple ,and if you want that people mail you about your site that's why i want to show you how to create an html email link and how people send you mail easily ,now see

Example :
<a href="mailto:weblearning9@gmail.com?subject=Feedback" >weblearning9@gmail.com</a>

Your Result:
weblearning9@gmail.com

that's all if you have any problem then please happily Contact Us

No comments:

Post a Comment