Making text links to another webpage!

Links are important issue to make bridge with another web page. We will learn the HTML/XHTML code & example to make a text link.

[] Making text link to open a target page in the same window

Code:-
< a href="target">TEXT HERE< /a>
Example:-
< a href="http://www.google.com">Google< /a>

Output will be: Google


[] Making text link to open a target page in new window

Code:-
< a href="target" target="_blank">TEXT HERE< /a>

Example:-
< a href="http://www.google.com" target="_blank">Google< /a>

Output will be: Google


Note: In order to copy/paste the code please ignore a space before "a" & "/a" both in Code & Example section.

No comments:

Post a Comment