HTML

HTML Projects

HTML Project

Text Links In HTML
Previous Home Next
adplus-dvertising

HTML Text Linkis using a HTML tag <a> and it is also called anchor tag. In <a> tag user can click link and reach to linked document on web page either onpage ,next page ,on top,

Syntax used

 <a href="url">link text</a> 

Example

<!DOCTYPE html>
<html>
<head>
<title>Hyperlink Example</title>
</head>
<body>
<p>Click following link</p>
<a href="http://www.r4r.co.in" target="_self">Hello user's in r4r.co.in</a>
</body>
</html>

Output :

HTML Text are used the following attributes

NameDescription
_selfOpens the linked document in the same frame as it was clicked (this is default)
_blankOpens the linked document in a new window or tab
_parentOpens the linked document in the parent frame
_topOpens the linked document in the full body of the window
framenameOpens the linked document in a named frame
Supporting Browsers
Previous Home Next