16 Aug 2015

Anchors tag in HTML

Anchor tag is used to apply link in HTML

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>HTML</title>
    </head>
    <body>
        You are in the HTML directory
       
        <a href="../home/index.html">Go to the Home directory?</a>
        <a href="content/index.html">Go to the content directory?</a>
         
        <a href="http://www.google.com" title="Visit Google's Home Page">Go to Google?</a>
               
    </body>
</html>
Share:

0 comments:

Post a Comment