通过编写猫咪相册应用学习 HTML - 步骤 14

告诉我们发生了什么:
在此详细描述你的问题。

你目前的代码

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more cat photos <a href ="https://freecatphotoapp.com"_blank target>cat photos </a></p>
      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
    </main>
  </body>
</html>

你的浏览器信息:

用户代理是: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36

挑战: 通过编写猫咪相册应用学习 HTML - 步骤 14

挑战的链接:

题目要求添加一个 target 属性,也要求了这个属性的值是 _blank,考察的知识点是属性的写法:

target="_blank"