Searching...
Sunday 23 September 2012

Html A Tag

10:43 pm

html a tag

html a tag :

    A link is the “address” to a document (or a resource) on the web.
Hyperlinks can point to any resource on the web : an html page , an image , a sound file , a movie , etc.
An anchor is a term used to define a hyperlink destination inside a document .  The html anchor element <a> is used to define both hyperlinks and anchors.
Attributes of <a>  :
Href  -- > defines the link “address”
Target -- > defines where the linked document will be opend.
Name -- > defines a names anchor inside a html document.
Linking can be done between
1.       Different websites.
2.       Between different pages in same website.
3.       With in the page itself.
4.       Used for sendig an electronic mail.
<html>
 <body link =”blue” alink=”red” vlink=”purple”>
<p style = “font-family : verdana ; font-size : 24px”>
<a href = "http://www.phpden.blogspot.com" target=”_blank”> php den</a> php tutorial<br><br>
<a href =” http://www.phpden.blogspot.com ”> php den</a>
&nsbp;&nsbp;&nsbp;&nsbp;
<a href=”contactus.html” > contact us</a>
&nsbp;&nsbp;&nsbp;&nsbp;
<a href=”#c”> courses</a>
</p>
<br><br>
<a name=”c”>
<ol style = “font-family : verdana;font-size :25px”>
  <li> php and mysql
<li> complete java
<li> Microsoft .NET
</ol>
</a>
<a href= “aboutus.html”> <img src=”path” width=”80” height=”80”></a>
</a>
</body>
</html>

html a tag

1 comments: