You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

FreeCodeCamp猫照片应用第14步:target属性添加问题求助

解决FreeCodeCamp猫照片应用第14步:添加target="_blank"属性
  • 你的原代码:
<p>See more <a href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
  • 修改后的正确代码:
<p>See more <a href="https://freecatphotoapp.com" target="_blank">cat photos</a> in our gallery.</p>
  • 操作说明:
    直接在a标签的开始标签里,和href属性挨着加个target="_blank"就行,属性之间用空格分开,顺序不影响。加完之后,点击链接就会在新标签页打开了。

内容的提问来源于stack exchange,提问作者mohammed ali

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.12 16:02:31