链接到HTML中的一行? [英] Link to a line in a HTML?

查看:169
本文介绍了链接到HTML中的一行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以链接到html文件中的行号?我想将某人链接到网页上的一个非常大的文档的一部分,但整个文档都在一个标签中,因此不会被分成具有可以链接到的ID的部分。



此处是我正在与之通话的页面,我喜欢链接到LEVEL 46我可以做到这一点吗?

我会同样满意于另一种解决方法,如搜索文本或任何东西,我假设这如果它只是一个普通的.txt文件,你可以做到这一点吗?



编辑:我不写网页im试图链接到别人的一部分elses,所以我不能添加ID等 解决方案

似乎不可能。


Is it possible to link to a line number in a html file? I want to link someone to part of a very large document which is on a webpage but the whole thing is in one tag so is not split into sections with IDs I can link to.

Here is the page I'm talking to, id like to link to "LEVEL 46" can I do this?

I would be just as happy with another workaround such as searching for the text or anything, I assume this could be made more complicated by it being in various wrappers, assuming it was just a plain .txt file could you do it?

Edit: im not writing the web page im trying to link to a part of someone elses, so i cannot add IDs etc

解决方案

No it doesn't appear to be possible.

这篇关于链接到HTML中的一行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆