Add in page anchor article directory to HTML page

» network technique » Add in page anchor article directory to HTML page

It is very simple to use the HTML built-in functions to add anchors and article directories

为HTML网页里面添加页内锚文章目录-极客公园

preface

A few days ago, a friend asked me how to make the article directory in my faq article on the topic of thinking, and poked the article by myself

Frequently asked questions and answers [unofficial FAQ]

I'm free today. By the way, it's actually very simple

HTML code

 <a href="# m1">This is a directory link</a>             <a name="m1">This is a directory link</a>       

The m1 can be changed at will, as long as the two are the same

preview

This is a directory link












This is a directory link







Or just look here Frequently asked questions and answers [unofficial FAQ]

--End--

Post reply

Your email address will not be disclosed. Required items have been used * tagging

3 Replies to "Add the page anchor article directory to the HTML page"