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

**URL:** <https://forum.freecodecamp.org/t/html-17/628627>\
**Category:** General\
**Tags:** chinese-中文\
**Created:** [August 9, 2023, 11:35am UTC](https://forum.freecodecamp.org/t/html-17/628627 "2023-08-09T11:35:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tian1](https://avatars.discourse-cdn.com/v4/letter/t/6f9a4e/32.png) [@tian1](https://forum.freecodecamp.org/u/tian1)\
**Post date:** [August 9, 2023, 11:35am UTC](https://forum.freecodecamp.org/t/html-17/628627/1 "2023-08-09T11:35:30Z")

</div>

**告诉我们发生了什么：完全不知道第二个section该放在哪里**  
在此详细描述你的问题。

**你目前的代码**

```html
<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>

<!-- User Editable Region -->

<section>
  <section>
        <h2>Cat Photos</h2>
        <!-- TODO: Add link to cat photos -->
        <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
        <a href="https://freecatphotoapp.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
        <section>
        </section>

<!-- User Editable Region -->

    </main>
  </body>
</html>

```

**你的浏览器信息：**

用户代理是： `Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36 SLBrowser/8.0.0.7271 SLBChan/105`

**挑战：** 通过编写猫咪相册应用学习 HTML - 步骤 17

**挑战的链接：**

> **[freeCodeCamp.org](https://www.freecodecamp.org/chinese/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/step-17)**
>
> 免费学习编程

---

<div class="post-metadata">

**Author:** ![miya](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/miya/32/417705_2.png) [@miya](https://forum.freecodecamp.org/u/miya)\
**Post date:** [August 9, 2023, 2:05pm UTC](https://forum.freecodecamp.org/t/html-17/628627/2 "2023-08-09T14:05:07Z")

</div>

现有的 section 元素是：

```auto
<section>
        <h2>Cat Photos</h2>
        <!-- TODO: Add link to cat photos -->
        <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
        <a href="https://freecatphotoapp.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
      </section>

```

在它下面添加一个新的 section 元素，注意需要有开始标签和结束标签。

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 7, 2025, 11:47am UTC](https://forum.freecodecamp.org/t/html-17/628627/3 "2025-01-07T11:47:26Z")

</div>

Closed on January 7, 2025, 11:47am UTC


