Monday, 20 October 2014

Learn HTML online for beginners part 6 hyperlink tutorial

HTML Hyperlink (Links)


A hyperlink (links) is a word, group to words, or image that you can click on to jump to a new document or a new section with in the current document.

when you move the cursor over a link in a webpages, the arrow will trun into a hand.
Link are specified in HTML using the <a> tag.

the <a> tag can be used in two ways.
1. to create a link to another document by using the href attributes.
2. to create a bookmark inside a document by using the name attribute.



HTML link


<a hrefd="url">link name </a>

Example

<a href="http://www.google.com"> Go to google</a>

If you use "_blank" the link will open in a new window or tab.



Example

<a href="http://www.google.com" target="_blank">Go to google</a>




No comments:

Post a Comment