Monday, 30 June 2014

HTML Links!!


Links are found in nearly all Web pages. Links allow users to click their way from page to page (Connected another page or link or image).

Hyperlink or Link By default style, links will appear as follows in all browsers:

An unvisited link is underlined and blue
A visited link is underlined and purple
An active link is underlined and red

HTML Link Syntax
The HTML code for a link is simple. It looks like this:

<a href="http://onlinewebcoach.blogspot.com/">Link text (My Link)</a>
<a href="http://onlinewebcoach.blogspot.com/">Online Web Coach</a>
Output:
Link text (My Link)
Online Web Coach

HTML Links - target Attribute:
The target attribute specifies where to open the linked document (page or link or image).

The example below will open the linked document in a new browser window or a new tab:
Example Code:
<a href="http://onlinewebcoach.blogspot.com/" target="_blank">Online Web Coach</a>

Output:
Online Web Coach
If your need help please watch this video:

No comments:

Post a Comment