【问题标题】:How do I link headings with it's paragraph on the same page如何在同一页面上将标题与其段落链接
【发布时间】:2018-02-20 12:15:38
【问题描述】:

我很困惑,如何将我的网页标题链接到其段落?

我的标题是 HTML:

<h6><span style="color: #ff00ff;"><strong>Advanced Filter vs. AutoFilter  

段落是

<h2><strong>Advanced Filter vs. AutoFilter</strong></h2>
<p style="text-align: justify;">Auto Filter works within a fixed data-set and can 
filter by cell color, by font color, by cell value and so on.
“Advanced Filter” works with data only, not like cell color or font color etc.</p>

请提出建议。

【问题讨论】:

标签: html


【解决方案1】:

改成这样……

<h6><a href="#top"><span style="color: #ff00ff;"><strong>Advanced Filter vs. AutoFilter</strong></span></a></h6>

在段落中...

<p  id="top" style="text-align: justify;">Auto Filter works within a fixed data-set 
and can 
filter by cell color, by font color, by cell value and so on.
“Advanced Filter” works with data only, not like cell color or font color 
etc.</p>

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-06-21
    • 2019-08-17
    • 2013-05-02
    • 1970-01-01
    • 2021-05-06
    • 2012-10-16
    相关资源
    最近更新 更多