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.
我尝试用“#”在 Twitter 上发布一条消息。问题是,例如,当我发推文时:
<a href="http://twitter.com/home?status=#some message">To Twitter</a>
或者
<a href="http://twitter.com/home?status=#some message">To Twitter</a>
那么“一些消息”将不会显示 - #或#之后的所有内容都将被删除。
存在任何方式,如何附加到消息标签?
使用%23:
%23
<a href="http://twitter.com/home?status=%23some message">To Twitter</a>
#是HTML 编码,%23是URL 编码。
#