Wednesday 20 September 2017

Anchor Tag /Hyper Link in HTML-5

Anchor Tag /Hyper Link


Guide:
1-Make a folder on desktop named as "Anchor Tag"
2-In "Anchor Tag" folder make 4 folders named as  img, js, pages and css
3-Open your code Editor , copy the below html and paste it , and save the file named as index.html in "Anchor Tag" folder
4-Now Create another html page , name it as "aboutus.html" & save it in pages folder.

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Anchor tag</title>
</head>

<body>

<h1> Index Page</h1>


<UL>

<LI>
<a target="_blank"  href="pages/ABOUTUS.html"> About Us page ( using blank  attribute )</a>
</Li>

<LI>
<a target="_self"  href="pages/ABOUTUS.html"> About Us page ( using self  attribute )</a>
</Li>


<LI>
<a target="_top"  href="pages/ABOUTUS.html"> About Us page ( using top  attribute )</a>
</Li>





</UL>




</body>
</html>

No comments:

Post a Comment

Pass Dynamically Added Html Table Records List To Controller In Asp.net MVC

Controller Code: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using ...