You can get multiple information about programing.

ANCHOR TAG OR NAME ATTRIBUTE IN HTML? - Programming info

ANCHOR TAG OR NAME ATTRIBUTE IN HTML?

 Anchor  tag and name attribute with examples are explain here.

When you open any website many paragraph and post are given. In which there  only index are given/shown. When you click any index ,then you goes to this post. This is because of anchor tag or name attribute.so, We can say that anchor tag is used to link one page to another page.


HOW TO USE ANCHOR TAG OR NAME ATTRIBUTE IN HTML
  1. By anchor tag you can give link to any image.
  2. By anchor tag you can give link to any file.
  3. By anchor tag you can give link to any document.
  4. By anchor tag you can give link to any website.

anchor tag:

<a href="url "> Give name of file.</a>


  • By anchor tag you can give link to any image.
example:


<a href="location of image/name of image.name of file like jpg" title="click here"> sun image</a>
  • By anchor tag you can give link to any file.

example:


<a href="name of file.pdf" title="click me"> informative tips </a>

your file may be world or excel. So, only write the name of file and you change the extension of file as .excel or .world.

  • By anchor tag you can give link to any website

example:


<a href=" url of website"> click me</a>

url mean  link of any website.
Anchor tag is amazing and most useful  attribute in web designing.
lets see practice:

<html>
<head>
<title>
use of name attribute and anchor tag.
</title>
</head>
<body>
<a href="https://programinginfogu.blogspot.com">kindly visit my all pages</a>
</boby>
</html>

DEAR FRIENDS YOU CAN DO PRACTICE OF ANCHOR AND NAME ATTRIBUTE ON SIMPLE NOTEPAD OR NOTEPAD++.



Next Post Previous Post