basic syntax of hyperlink starts with the <a> tag, and then uses an href= attribute which provides the URL or the path to the destination. For example, an opening tag might look like this:
Setting a Target Window
By default, a hyperlink opens the referenced page in the same browser window. That means the new page replaces the previous page in your browser. Usually this is fine, but in some cases you might want the hyperlink to open in a new window. For example, perhaps you want to recommend that visitors check out a page on another site, but you don’t want them to leave your site.
To direct the hyperlink to open a page in a new window, add the attribute target=″_blank″ to the <a> tag. For example, to open the www.Edututorials.com link in a new window, the tag would be structured like this:
Hyperlinking to an E-Mail Address
Hyperlinks can point to anything, not just to Web pages. You can create e-mail hyperlinks, for example, that start the user’s default e-mail program, create a new message, and enter the recipient’s address. (You can also set it to fill in the message subject, if you like.)
E-mail hyperlinks are useful when you want to direct someone to send a message to a particular person. For example, it is common to include a link to e-mail a site’s webmaster. To create a hyperlink to an e-mail address, use the same href= attribute as you did previously, but instead of a Web address, type mailto: followed by the e-mail address, like this: