Several common methods for setting anchor positioning in html_HTML/Xhtml_Web page production

- WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
- 2016-05-16 16:37:412685browse
I know several ways to set anchor positioning in HTML, and I would like to share them with you here:
1. Use id positioning:
Anchor 1
11111111111
11111111111
11111111111
11111111111
11111111111
11111111111
11111111111
& lt;/br>11111111111
11111111111
11111111111
11111111111
11111111111
1111111111 1
11111111111
11111111111
This positioning can target any tag to locate.
2. Use name positioning:
Use name attribute only It can be positioned for the a tag, but it cannot be positioned for other tags such as div.
3. Use js to position
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn