You should add the target="_blank"
and rel="noopener noreferrer"
in the anchor tag.
(您应该在锚标记中添加target="_blank"
和rel="noopener noreferrer"
。)
For example:
(例如:)
<a target="_blank" rel="noopener noreferrer" href="http://your_url_here.html">Link</a>
Adding rel="noopener noreferrer"
is not mandatory, but it's a recommended security measure.
(添加rel="noopener noreferrer"
不是强制性的,但这是建议的安全措施。)
More information can be found in the links below. (可以在下面的链接中找到更多信息。)
Source:
(资源:)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…