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.
- By anchor tag you can give link to any image.
- By anchor tag you can give link to any file.
- By anchor tag you can give link to any document.
- 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>