本文介绍了用字符搜索html的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有链接将ABCD TO Z当我单击Alphabit A时,我需要获取以A开头的链接,依此类推.
i have the Links will A B C D TO Z When I click on the Alphabit A i need to get the Links starting with A and so on.
推荐答案
<html>
<body>
<p>Index</p>
<a href='#a'>Go to A</a>
<a href='#b'>Go to B</a>
<a href='#c'>Go to C</a>
<p id = 'a'>Links starting with A</p>
<a href="">adam</a>
<a href="">apple</a>
<a href="">average</a>
...
<p id = 'b'>Links starting with B</p>
...
<p id = 'c'>Links starting with C</p>
...
<p id = '...'>etc...</p>
</body>
</html>
祝你好运!
Good luck!
这篇关于用字符搜索html的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!