(X /)HTML:的含义

时间:2022-08-24 16:19:58

I would like to know the semantic meaning of Click Here. What is the meaning of the pound key in this context? I've just added a Spry Menu Bar Widget in Dreamweaver and I can see this notation in the code once the widget is added to the page. I am familiar with constructs with the pound key in a URL such as Here. and then Click Here. in some other place in the page. Clicking on the second a element brings you to the part of the page marked "foo". However, I would like to know the meaning of Click Here as noted above. In particular, what does this construct do and how can on use it?

我想知道Click Here的语义含义。在这种情况下,英镑键的含义是什么?我刚刚在Dreamweaver中添加了一个Spry菜单栏小部件,一旦小部件添加到页面,我就可以在代码中看到这种符号。我熟悉URL中的井键等构造。然后单击此处。在页面的其他地方。单击第二个元素会将您带到标记为“foo”的页面部分。但是,我想知道如上所述Click Here的含义。特别是,这个构造做了什么以及如何使用它?

Thanks,

John Goche

1 个解决方案

#1


5  

It's a fragment identifier just like any other link with #, although in this case it identifies the top of the document. <a href="#"> is often used for links that have JavaScript attached to them.

它是一个片段标识符,就像其他任何带#的链接一样,尽管在这种情况下它标识了文档的顶部。 通常用于附加了JavaScript的链接。

#1


5  

It's a fragment identifier just like any other link with #, although in this case it identifies the top of the document. <a href="#"> is often used for links that have JavaScript attached to them.

它是一个片段标识符,就像其他任何带#的链接一样,尽管在这种情况下它标识了文档的顶部。 通常用于附加了JavaScript的链接。