Hyper Links in Html:
= = = = = = = = = = = =
-> hyper links in html document are created by using anchor tag (eg: <a> </a>)
-> we can navigate from one page to another page (same site)
-> we implement navigation with different options
1.navigation to another page(same site)
2.navigate to external web sites (different site)
3.navigate to section the same page.
usage:
= = = =
<a href=url>text</a>
attribute: href stands for hyper link reference
Types of URL:
= = = = = = = =
-> url that we are using in hyper links are divided two types
1.Relative URLs
2.Absolute URLs
-> Relelative URLs refer same website it does not required website name in URLs.
eg: <a href="contact.html">Contact us</a>
-> Absolute URLs refers different websites it includes Compelete Web site same with protocal.
eg: <a href="http://www.facebook.com">facebook</a>
eg:
<!-- create web page to demon strate on hyperlinks in HTML-->
<html>
<head>
<link rel="shortcut icon" href="google1.png"/>
</head>
<body>
<h1 id="top" >Welcome to HTML</h1>
<hr\>
<img src="contact.png"/ width="20" height="15"/>
<a href="contact.html">contact us</a> <br/>
<img src="about.png"/ width="20" height="15"/>
<a href="about.html">about us</a> <br/>
<hr\>
<img src="facebook.png"/ width="20" height="15"/>
<a href="http://www.facebook.com">facebook</a> <br/>
<img src="twitter.png"/ width="20" height="15"/>
<a href="http://www.Twitter.com">Twitter</a> <br/>
<hr\>
<img src="html5.png"/ width="20" height="15"/>
<a href="#s1">HTML5</a><br/>
<img src="jquery.png"/ width="20" height="15"/>
<a href="#s2">JQuery</a>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/><br/><br/>
<h3 id="s1">HTML5</h3>
<p>HTML5 is a latest version that provides new tags in order to developing web pages.
HTML5 is a latest version that provides new tags in order to developing web pages.
HTML5 is a latest version that provides new tags in order to developing web pages.
HTML5 is a latest version that provides new tags in order to developing web pages.</p>
<a href="#top">back to top</a>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<h3 id="s2">JQuery</h3>
<p>jquery is javascript based library that makes client side programming easy.
jquery is javascript based library that makes client side programming easy.
jquery is javascript based library that makes client side programming easy.
jquery is javascript based library that makes client side programming easy.</p>
<a href="#top">back to top</a>
</body>
</html>
bandar online taruhan 25rb
ReplyDeleteSabung ayam
sbobet online
casino online
tembak ikan
daftar bisa langsung ke:
LINE : agens1288
WhatsApp : 085222555128 / 087789221725