For Bengali Version, Click here : এইচটিএমএল লিংক : বাংলা
If you set the target attribute to "_blank", the link will open in
a new browser window/tab.
Links are found in nearly all web pages. Links allow users
to click their way from page to page.
HTML Link Syntax
The HTML code for a link is simple. It looks like this :
<a href=“url”>Link text</a>
The href attribute specifies the destination of a link.
Example :
<a href=“http://www.deshiit.blogspot.com/”>Visit HTML
to Web Page</a>
HTML Links : The target Attribute
The target attribute specifies where to open the linked
document.
The example below will open the linked document in a new
browser window or a new tab:
Example :
<html>
<body>
<a href="http://www.deshiit.blogspot.com"
target="_blank">Visit deshiit.blogspot.com!</a>
<p>If you set the target attribute to
"_blank", the link will open in a new browser window/tab.</p>
</body>
</html>
Result :
No comments:
Post a Comment