Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
你能自动检测 HTML、JavaScript 或 Objective C 中的超链接吗?
超链接是 html 规范的一部分。
<a href="whoa">blah</a>
在任何语言中,我都会在 DOM 对象中进行 xquery 搜索以查找所有超链接。
getElementsByTagName('a');