Sunday, July 10, 2016

HTML- Using anchor tag



Hi guys, in this code you are going to learn about the effects of three different tags in HTML.In this code, we will learn about the effects of anchor tag.  I hope this code is going to help you progress in HTML. It is simple, all you need to do is copy the code and paste it in your document where you write codes.  The remaining editing depends on you. Feel free to leave a comment no matter whether it is positive or negative.


Follow these steps
1. Open two tabs in the document where your code.
2.  Name one as home.html and the other as another.html and save it.

Code
<!DOCTYPE html>
<html>
<head>
<meta charset= "utf-8">
<title> Anchor Tag </title>
</head>
<body>
<h1>  My Home page</h1>
<p> Would to like to go to the <a href="another.html">another </a>home page? </p>
</body>
</html>

Output






No comments:

Post a Comment